PHPerKaigi 2021

DOMNamedNodeMap::getNamedItemNS

(PHP 5, PHP 7)

DOMNamedNodeMap::getNamedItemNS Retrieves a node specified by local name and namespace URI

Description

public DOMNamedNodeMap::getNamedItemNS ( string|null $namespace , string $localName ) : DOMNode|null

Retrieves a node specified by localName and namespace.

Parameters

namespace

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top