onvif
    Preparing search index...

    Function buildXml

    • 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.

      Parameters

      • object: unknown

      Returns string