(PHP 5, PHP 7, PHP 8)
DOMXPath::registerNamespace — Registers the namespace with the DOMXPath object
$prefix
$namespace
Registers the namespace and prefix with the DOMXPath object.
namespace
prefix
The prefix.
The URI of the namespace.
Gibt bei Erfolg true zurück. Bei einem Fehler wird false zurückgegeben.
true
false