in reply to XML output formatting
As others have suggested, I'd suggest you don't worry about the formatting of the XML document with respect to simply using it.
However, if you're trying to understand a file, it's frequently nice to have it formatted. I use xmllint --format inputfile >outputfile to reformat an XML document when I need to open it in an editor just to check it out structurally.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
|
|---|