Name
removeNamedItemNS: namespaceURI, localName(2)
Synopsis
Removes the Node
object with the matching namespaceURI
and localName
properties and returns a
reference to the removed object. If the node you plan to remove is
an Attr
node and if it has a
defined default value, a new Node
object set to the default value
will replace the node immediately.
Arguments
- namespaceURI: DOMString
Namespace URI of the node to retrieve.
- localName: DOMString
Local name of the node to retrieve.
Exception
- NOT_FOUND_ERR
Raised if no node matching the
namespaceURI
andlocalName
parameter is found in the map.
Java binding
public Node removeNamedItemNS(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.