Serializing non-qualified attributes with ElementTree
Posted on Mon 21 November 2011 in Coding • Tagged with elementtree, hack, python
The other day, I had a piece of Python code that deserialized an XML
text containing a UPnP service description to an ElementTree
instance using ElementTree.parse
, then at a later stage serialized it
back to XML using ElementTree.write
.
Now, the service description happened to contain non-qualified attributes (like …
Continue reading