org.w3c.dom.Element.getAttributeNodeNS
method
public getAttributeNodeNS(namespaceURI as String, localName as String) as Attr throws DOMException
Description

Returns a namespace-aware attribute node.

Parameters
  • namespaceURI Namespace URI.
  • localName Attribute local name.
Returns

Attribute node, or null.

Throws
  • DOMException if lookup fails.
Example
attr = element.getAttributeNodeNS(null, "id")