Broswer compact XML serializer - creates resulting XML by stripping whitespaces wherever possible,
but preserving single whitespace where at least one exists.
Writes specified TagNode to the output stream, using system default charset and optionally omits node envelope
(skips open and close tags of the node).