minidom question from a newbie

henk.derudder at henk.derudder at
Wed Jan 29 15:24:18 CET 2003

Hi wizards,

I am using minidom from xml.dom. There is a nice method in there:
root = minidom.parse(filename)
which gives me a nice tree of all XML-elements which are in the file
filename. Is there a possibility to go the other way around, i.e. to
have  such a tree structure and save it into an XML-file. If yes, are
there snippets/sample code out there.

Many thanks,


More information about the Python-list mailing list