In Python, is there an easy way to edit xml in place ?

Posted by sms169 on Stack Overflow See other posts from Stack Overflow or by sms169
Published on 2010-05-01T20:35:56Z Indexed on 2010/05/01 20:47 UTC
Read the original article Hit count: 127

Filed under:
|

Suppose I want to edit a node in xml and edit one of its attributes. I want to be able to do a simple file diff to just see one row changed. Dumping the xml using prettyprint changes the whole xml structure.

© Stack Overflow or respective owner

Related posts about python

Related posts about Xml