DOMNode::lookupNamespaceUri
(PHP 5, PHP 7, PHP 8)
DOMNode::lookupNamespaceUri — Gets the namespace URI of the node based on the prefix
說明
public DOMNode::lookupNamespaceUri(string
$prefix): string Gets the namespace URI of the node based on the prefix.
參數
-
prefix The prefix of the namespace.
返回值
The namespace URI of the node.
參見
- DOMNode::lookupPrefix() - Gets the namespace prefix of the node based on the namespace URI