xmlbuilder
Advanced tools
Changelog
[5.0.0] - 2016-03-05
lower
, upper
, camel
, kebab
and snake
.allowEmpty
option to end()
. When this option is set, empty elements are not self-closed.]]>
in CDATA is now automatically replaced with ]]]]><![CDATA[>
.Changelog
[4.2.0] - 2015-12-16
noDoubleEncoding
option to create()
to control whether existing html entities are encoded.Changelog
[4.1.0] - 2015-11-11
separateArrayItems
option to create()
to control how arrays are handled when converting from objects. e.g.root.ele({ number: [ "one", "two" ]});
// with separateArrayItems: true
<number>
<one/>
<two/>
</number>
// with separateArrayItems: false
<number>one</number>
<number>two</number>
Changelog
[4.0.0] - 2015-11-01
#list
decorator. Array items are now created as child nodes by default.Changelog
[2.6.5] - 2015-09-09
isArray
instead of lodash.