Ignoring XML Namespaces with cElementTree

Stefan Behnel stefan_ml at behnel.de
Wed Apr 28 02:53:14 EDT 2010


dmtr, 28.04.2010 03:42:
> Is there any way to configure cElementTree to ignore the XML root
> namespace?  Default cElementTree (Python 2.6.4) appears to add the XML
> root namespace URI to _every_ single tag.

Certainly not in the serialised XML. Are you referring to the qualified 
names it uses?

Stefan




More information about the Python-list mailing list