toXml
Serialize this CoTMessage to a single <event> XML element suitable for the CoT streaming TCP protocol used by ATAK / iTAK / WinTAK clients.
Important: the output must NOT include an <?xml ... ?> declaration. The CoT stream protocol is a continuous sequence of <event> elements concatenated together; an XML declaration is only legal at the very start of a document and ATAK will drop the connection as malformed the moment it sees a second declaration mid-stream.