Ignoring XML Namespaces with cElementTree

dmtr dchichkov at gmail.com
Tue Apr 27 21:42:59 EDT 2010

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.  I know that I can strip
URIs manually, from every tag, but it is a rather idiotic thing to do
(performance wise).

More information about the Python-list mailing list