Programmer's Guide > Interfaces > W3C Element interface > getAttributeNodeNS method
  
getAttributeNodeNS method
Retrieves an Attr node by local name and namespace URI. HTML-only DOM implementations do not need to implement this method.
getAttributeNodeNS(namespaceURI, localName )
Parameters
StringnamespaceURI
The namespace URI of the attribute to retrieve.
StringlocalName
The local name of the attribute to retrieve.
Returns
Attr. The Attr node with the specified attribute local name and namespace URI or null if there is no such attribute.