How do I get minidom to ignore namespaces?

Posted by DavidG on Stack Overflow See other posts from Stack Overflow or by DavidG
Published on 2010-03-27T10:11:47Z Indexed on 2010/03/27 10:13 UTC
Read the original article Hit count: 420

Filed under:
|

I am using minidom in Python and I'd like getElementsByTagName() to match elements purely by tag-name and ignore any namespaces. The documents are being parsed by minidom.parseString(). Is it possible?

© Stack Overflow or respective owner

Related posts about python

Related posts about Xml