# DOMNamedNodeMap::getNamedItemNS

(PHP 5, PHP 7, PHP 8)

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

### Beschreibung

public DOMNamedNodeMap::getNamedItemNS(?string `$namespace`, string `$localName`): ?DOMNode

Retrieves a node specified by `localName` and `namespace`.

### Parameter-Liste

`namespace`

  The namespace URI of the node to retrieve.

`localName`

  The local name of the node to retrieve.

### Rückgabewerte

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

### Siehe auch

- DOMNamedNodeMap::getNamedItem() - Retrieves a node specified by name

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open