Name
getNamedItemNS: namespaceURI, localName(2)
Synopsis
Extends the basic getNamedItem
method to include support
for namespaces. Instead of finding an item in the list based only
on the local part of the node name, it is possible to incorporate
the namespace URI into the search.
Arguments
- namespaceURI: DOMString
Namespace URI of the node to retrieve.
- localName: DOMString
Local name of the node to retrieve.
Java binding
public Node getNamedItemNS(String namespaceURI, String localName);
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.