Details
Description
I'd like format-pretty-print to print more prettily in DOMWriter. Currently
format-pretty-print just puts in the odd newline to make things clearer. I would
like it to put in newlines between every element and indent things according to
the tree structure.
I understand that adding things like tree indentation might change the
interpretation of an XML document, but it is a nice thing to have. Perhaps
it is application specific and should not be put into DOMWriter. I would like
your feedback on this. If you would like format-pretty-print to print more
prettily, I can make changes to DOMWriter and submit them to become part of
the official source.