DOMXPath
PHP Manual

DOMXPath::registerNamespace

(PHP 5)

DOMXPath::registerNamespace Registers the namespace with the DOMXPath object

Opis

public bool DOMXPath::registerNamespace ( string $prefix , string $namespaceURI )

Registers the namespaceURI and prefix with the DOMXPath object.

Parametry

prefix

The prefix.

namespaceURI

The URI of the namespace.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.


DOMXPath
PHP Manual