[issue1777134] minidom pretty xml output improvement

John-Mark Gurney report at bugs.python.org
Wed Feb 13 02:07:47 CET 2008


John-Mark Gurney added the comment:

I think this is a good patch.  It gives more useful pretty XML output. 
I would suggest that possibly this routine be moved to xml.dom or
xml.dom.utils instead of being part of minidom since it should not be
minidom specific.

There is one bug in the patch in that:
node.writexml(writer, (%s%s) % (indent,addindent)

the parens around the %s%s should be quotes instead.

----------
nosy: +jmg

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1777134>
_____________________________________


More information about the Python-bugs-list mailing list