I can't seem to be able to force a DOMWriter to write XML in a flat way. By flat I mean that all elements are on a single line, no pretty print, etc. If I create a document in memory I can write it out flat, but let's say you read in a document from a file that was created with some sort of formatting. If you read in this document and write it out, you always get a pretty-print output, sometimes with extra newlines, even if you have all that pretty-printing shut off. Anyone know how to do this? I didn't think that the document was being held in memory like this, with all of the formatting and such.
-- Kelly Beard
