DOMXPath
PHP Manual

DOMXPath::registerNamespace

(No version information available, might be only in CVS)

DOMXPath::registerNamespace Registers the namespace with the DOMXPath object

Descrição

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

Registers the namespaceURI and prefix with the DOMXPath object.

Parâmetros

prefix

The prefix.

namespaceURI

The URI of the namespace.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.


DOMXPath
PHP Manual