Serialize a JS tree to compact XML (no pretty-print, empty nodes self-closing).
Object model: $ = attributes, _ = text, other keys = child elements (arrays => repeats).
Date values become UTC ISO-8601 (xs:dateTime). XML declaration / PIs are not supported.
Serialize a JS tree to compact XML (no pretty-print, empty nodes self-closing). Object model:
$= attributes,_= text, other keys = child elements (arrays => repeats).Datevalues become UTC ISO-8601 (xs:dateTime). XML declaration / PIs are not supported.