DOMXPath->registerNamespace()
(no version information, might be only in CVS)
DOMXPath->registerNamespace() --
Registers the namespace with the DOMXPath object
说明
class
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.
返回值
如果成功则返回
TRUE
,失败则返回
FALSE
。