1.0.5 • Published 3 years ago

@unicity/xml-parser v1.0.5

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

Unicity-XML-Parser

About

This is a wrapped version of xml2json that will remove "&" characters before parsing the xml and then add them back after.

const XML = require('@unicity/xml-parser');

`<?xml version="1.0" encoding="utf-8"?>
<Data>
	<Field1>The field below used to not work</Field1>
	<Field2>&#X62D;&#X64A; &#X634;&#X</Field2>
</Data>`;

const options = {
	object : true
};
const dataObject = XML.parse(xml, options);
1.0.5

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago