array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'domnode.lookupnamespaceuri.php', 1 => 'DOMNode::lookupNamespaceURI', ), 'up' => array ( 0 => 'class.domnode.php', 1 => 'DOMNode', ), 'prev' => array ( 0 => 'domnode.issupported.php', 1 => 'DOMNode::isSupported', ), 'next' => array ( 0 => 'domnode.lookupprefix.php', 1 => 'DOMNode::lookupPrefix', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domnode/lookupnamespaceuri.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
DOMNode::lookupNamespaceURI — Gets the namespace URI of the node based on the prefix
Gets the namespace URI of the node based on the
prefix
.
prefix
The prefix to look for. If this parameter is null
, the method will return the default namespace URI, if any.
Returns the associated namespace URI or null
if none is found.