DOMXPath
PHP Manual

DOMXPath::registerNamespace

(PHP 5)

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