Scholar Repository
Home>Manual>Retrieves a node specified by local name and namespace URI

Retrieves a node specified by local name and namespace URI


DOMNamedNodeMap::getNamedItemNS

(PHP 5)

DOMNamedNodeMap::getNamedItemNSRetrieves a node specified by local name and namespace URI

Description

DOMNode DOMNamedNodeMap::getNamedItemNS ( string $namespaceURI , string $localName )

Retrieves a node specified by localName and namespaceURI.

Parameters

namespaceURI

The namespace URI of the node to retrieve.

localName

The local name of the node to retrieve.

Return Values

A node (of any type) with the specified local name and namespace URI, or NULL if no node is found.

See Also


Home>Manual>Retrieves a node specified by local name and namespace URI