I'm looking for a simple way to remove all the unnecessary whitespaces from a "human readable" XML string, to reduce the XML-size for machine-to-machine communication.
<my>
<beautiful>XML</beautiful>
</my>
should result in:
<my><beautiful>XML</beautiful></my>
In there already something available in this library?
I'm looking for a simple way to remove all the unnecessary whitespaces from a "human readable" XML string, to reduce the XML-size for machine-to-machine communication.
should result in:
In there already something available in this library?