DOMXPath->registerNamespace()

DOMXPath->registerNamespace() --  Registers the namespace with the DOMXpath object

Leírás

class DOMXPath {

bool registerNamespace ( string prefix, string namespaceURI )

}

Registers the namespaceURI and prefix with the DOMXpath object.

Paraméterek

prefix

The prefix.

namespaceURI

The URI of the namespace.

Visszatérési értékek

Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.