DOMXPath->registerNamespace()
(No version information available, might be only in CVS)
DOMXPath->registerNamespace() — Registers the namespace with the DOMXPath object
說明
DOMXPath
bool registerNamespace
( string $prefix
, string $namespaceURI
)
Registers the namespaceURI and prefix with the DOMXPath object.
參數
- prefix
-
The prefix.
- namespaceURI
-
The URI of the namespace.
Return值
如果成功則回傳 TRUE,失敗則回傳 FALSE。