M
Michael Per
I'm using the XmlSerializer to serialize an object to an xml file. When
I look at the file I see that the xml produced is nicely formatted for
a human eye. It has line breaks and indentations (as series of white
spaces). Unfortunately all these formatting niceties aren't free. An
xml that would normally take ~33Mb takes ~58Mb. So here's my question:
Is there an option to make XmlSerializer produce tight xml with no line
breaks or indentations?
P.S. Using the framework 1.1
I look at the file I see that the xml produced is nicely formatted for
a human eye. It has line breaks and indentations (as series of white
spaces). Unfortunately all these formatting niceties aren't free. An
xml that would normally take ~33Mb takes ~58Mb. So here's my question:
Is there an option to make XmlSerializer produce tight xml with no line
breaks or indentations?
P.S. Using the framework 1.1