This removes the support for re-indenting XML, but allows to faithfully
parse / stringify a document. Beautification could be added again later
on if desired.
Previously parsing a document like this:
<root xmlns:foo='http:/example.org/foo' foo:bar='1'/>
Would produce an incorrect document when turning it back into a string:
<root xmlns:foo='http:/example.org/foo' http:/example.org/foo:bar='1'/>
This patch fixes this by implementing a proper lookup for namespace
prefixes.
methods. Set the global `IndentPrefix` var to a tab or spaces to
enable indented output. The existing API has not been changed.
This addresses issue #7.