DOMXPath::registerNamespace
(PHP 5, PHP 7, PHP 8)
DOMXPath::registerNamespace — Registers the namespace with the DOMXPath object
Description
Registers the namespace and
prefix with the DOMXPath object.
Parameters
prefix
The prefix.
namespace
The URI of the namespace.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
