DekGenius.com
Team LiB   Previous Section   Next Section
NamedNodeMap.getNamedItemNS( ) look up a node by name and namespace

Availability

DOM Level 2 Core

Synopsis

Node getNamedItemNS(String namespaceURI,
                    String localName);

Arguments

namespaceURI

The namespaceURI property of the desired node, or null for no namespace.

localName

The localName property of the local node.

Returns

The element of the NamedNodeMap that has the specified namespaceURI and localName properties, or null if there is no such node.

Description

getNamedItemNS( ) looks up an element of a NamedNodeMap by namespace and local name. It is useful only with XML documents that use namespaces.

    Team LiB   Previous Section   Next Section