Updating XML using XPath
fredrik at pythonware.com
Wed Nov 1 08:45:51 CET 2006
marijuanated at gmail.com wrote:
> Is there a way that I can update the attributes of an XML node and MAKE
> IT PERSISTENT in the XML file through the Python XPath API? I tried the
> setContent method of the Node but i am only able to update the node
> variable not the file content itself.
how about saving the DOM tree when you're done modifying it?
More information about the Python-list