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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1777134> _____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com