Paul Kozik wrote:
> However, if I use xml.minidom.parse to parse the xml document, change
> a few attributes with setAttribute, then write back with toprettyxml,
> my XML file gets loaded up with spaces between many of the elements.

Use 'toxml' method, that writes XML document without any modification.

w.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to