removeNamedItemNS (DOMNamedNodeMap - JavaScript)
Removes a node specified by namespace and name.
Defined in
DOMNamedNodeMapSyntax
removeNamedItemNS(namespaceURI:string, localName:string) : DOMNode
| Parameters | Description |
|---|---|
namespaceURI |
The URI of a node. |
localName |
The local name of the node. |
| Return value | Description |
|---|---|
DOMNode |
The node or null. An invalid URI or local name returns null. |
Examples
This button gets the child nodes below the schema level of a DOM whererequestScope.n is
the location of a document in the database, and gets a named attribute
for each element.If the input XML to the
DOM is as follows:
The display appears
as follows: