Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
Update to this release if you use entity parsing in Fast XML Parser.
esm
branch.4.0.0-beta.8 / 2021-12-13
4.0.0-beta.7 / 2021-12-09
4.0.0-beta.6 / 2021-12-05
suppressBooleanAttributes
by XML Builder for attributes with value true
.4.0.0-beta.5 / 2021-12-04
4.0.0-beta.4 / 2021-12-02
4.0.0-beta.3 / 2021-11-30
⚠️ 4.0.0-beta.2 / 2021-11-19
attrMap
to attibutes
in parser output when preserveOrder:true
⚠️ 4.0.0-beta.1 / 2021-11-18
cdataTagName
to cdataPropName
commentPropName
⚠️ 4.0.0-beta.0 / 2021-11-16
attrNodeName
to attributesGroupName
attrValueProcessor
to attributeValueProcessor
parseNodeValue
to parseTagValue
ignoreNameSpace
to removeNSPrefix
numParseOptions
to numberParseOptions
suppressEmptyNode
isArray
option is added to parse a tag into arraypreserveOrder
option is added to render XML in such a way that the result js Object maintains the order of properties same as in XML.tagValueProcessor
and attributeValueProcessor
are changes with extra input parametersI have fixed some old rare parsing issues which were being difficult to handle.
After this release some error messages return by validator will be updated. Validator will also return line number now.
Update tagValueProcessor
of js object/JSON to XML Parser to work with date value. Previously, all the values pass to this function were string and empty in case of object. Now the values are in their original data type and work for date object.
By specifying stopNodes which a list of tag names, a user can stop the parser to go in deep for parsing. Nested XML will be parsed as string as a value to the stop node.
This release is more about minor bug fixes and small features. You can check CHANGELOG.md for more detail.
This is the combined release of
nimn
ASCII charsnull
value support in json to xml transformationAfter this release this package will be capable to transform XML into nimn. Additionally this release add the feature to validate XML PIs and fix a minor bug while transforming JSON to xml back when a property is deleted.
Please read changelog for more detail.