TAKPacket-SDK — TypeScript - v0.7.0
    Preparing search index...

    Function normalizeCotXml

    • Normalize CoT XML for the TAK TCP stream: drop the <?xml …?> declaration and collapse inter-tag whitespace (> <><). TAK clients read a continuous stream of single-line events and choke on a pretty-printed, multi-line document with a prologue. Whitespace inside text nodes is left intact (only >-whitespace-< runs collapse).

      Parameters

      • xml: string

      Returns string