array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'domxpath.registernamespace.php', 1 => 'DOMXPath::registerNamespace', ), 'up' => array ( 0 => 'class.domxpath.php', 1 => 'DOMXPath', ), 'prev' => array ( 0 => 'domxpath.query.php', 1 => 'DOMXPath::query', ), 'next' => array ( 0 => 'domxpath.registerphpfunctions.php', 1 => 'DOMXPath::registerPhpFunctions', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/domxpath/registernamespace.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
DOMXPath::registerNamespace — Registers the namespace with the DOMXPath object
Registers the namespace
and
prefix
with the DOMXPath object.
prefix
The prefix.
namespace
The URI of the namespace.