def getAttributeValue(self, namespaceURI, localName):
if self.hasAttribute(namespaceURI, localName):<EOL><INDENT>attr = self.node.getAttributeNodeNS(namespaceURI,localName)<EOL>return attr.value<EOL><DEDENT>return None<EOL>
Keyword arguments:
    namespaceURI -- namespace of attribute
    localName -- local name of attribute