php / 8.1.5 / domnode.lookupnamespaceuri.html /

DOMNode::lookupNamespaceUri

(PHP 5, PHP 7, PHP 8)

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

Description

public DOMNode::lookupNamespaceUri(string $prefix): string

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

Parameters

prefix

The prefix of the namespace.

Return Values

The namespace URI of the node.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domnode.lookupnamespaceuri.php