getNamedItemNS method
Retrieves a node specified by local name and namespace URI. HTML-only DOM implementations do not need to implement this method.
getNamedItemNS(namespaceURI, localName )
Parameters
String namespaceURI
The namespace URI of the node to retrieve.
String localName
The local name of the node to retrieve.
Returns
Node. A Node (of any type) with the specified local name and namespace URI, or null if they do not identify any node in this map.
这对您有帮助吗?