code: def _find_attrNodeNS(E, namespaceURI, localName):
      '''Must grab the attribute Node to distinquish between
      an unspecified attribute(None) and one set to empty string("").
         namespaceURI
         localName
      '''
      attr = E.getAttributeNodeNS(namespaceURI, localName)
      if attr is None: return None
      try:
          return attr.value
      except: pass
      return E.getAttributeNS(namespaceURI, localNamef _find_attrNodeNS(E, namespaceURI, localName):
      '''Must grab the attribute Node to distinquish between
      an unspecified attribute(None) and one set to empty string("").
         namespaceURI
         localName
      '''
      attr = E.getAttributeNodeNS(namespaceURI, localName)
      if attr is None: return None
      try:
          return attr.value
      except: pass
      return E.getAttributeNS(namespaceURI, localName)
docs: Must grab the attribute Node to distinquish between
      an unspecified attribute(None) and one set to empty string("").
         namespaceURI
         localName