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?
                +1 
                A: 
                
                
              getElementsByTagName does match elements purely by tagName.
Do you mean you want to match purely on localName? ie. the part of the tag name after the : (if any)? If so use the DOM Level 2 Core method getElementsByTagNameNS:
els= document.getElementsByTagNameNS('*', 'tag')
                  bobince
                   2010-03-27 12:52:59
                
              Thanks - the NS one worked, but the non-NS one different. SO I'm guessing there must be some circumstances where they are different.
                  DavidG
                   2010-03-27 14:01:30