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