js2xmlparser
Advanced tools
Changelog
5.0.0
Changelog
4.0.2
Changelog
4.0.1
Changelog
4.0.0
Changelog
3.0.0
Changelog
2.0.1
Changelog
2.0.0
Re-write in TypeScript
Re-write to use xmlcreate (greatly simplifies module source)
Added support for the ECMAScript 2015 Map and Set objects
New method of calling module:
var js2xmlparser = require("js2xmlparser");
var root = "root";
var data = {hello: "world"};
var options = {};
// old method (no longer works):
// js2xmlparser(root, data, options);
// new method:
js2xmlparser.parse(root, data, options);
New options and changes to functionality of some existing options:
declaration
contains additional optionsattributeString
has additional functionalityvalueString
has additional functionalityprettyPrinting
is now provided by the new
format
option, which contains additional optionsarrayMap
is now wrapHandlers
to reflect the fact that wrapping is
provided for both arrays and ES2015 setsconvertMap
is now typeHandlers
to match the name change to arrayMap
useCDATA
is now provided by the new
cdataInvalidChars
and cdataKeys
options, which also provide additional
functionalitydtd
optionChangelog
1.0.0