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