DOMNode::lookupNamespaceURI

(PHP 5, PHP 7, PHP 8)

DOMNode::lookupNamespaceURI Gets the namespace URI of the node based on the prefix

Beschreibung

publicDOMNode::lookupNamespaceURI(?string$prefix): ?string

Gets the namespace URI of the node based on the prefix.

Parameter-Liste

prefix

The prefix to look for. If this parameter is null, the method will return the default namespace URI, if any.

Rückgabewerte

Returns the associated namespace URI or null if none is found.

Siehe auch

To Top