DekGenius.com
Team LiB   Previous Section   Next Section
NamedNodeMap.removeNamedItemNS( ) delete a node specified by namespace and name

Availability

DOM Level 2 Core

Synopsis

Node removeNamedItemNS(String namespaceURI, 
                       String localName) 
    throws DOMException;

Arguments

namespaceURI

The namespaceURI property of the node to be removed, or null for no namespace.

localName

The localName property of the node to be removed.

Returns

The node that was removed.

Throws

This method throws exceptions for the same reason as removeNamedItem( ).

Description

This method works just like removeNamedItem( ), except that the node to be removed is specified by namespace and local name rather than just by name. This method is typically useful only with XML documents that use namespaces.

    Team LiB   Previous Section   Next Section