DOMXPath->registerNamespace()

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

Descripción

class DOMXPath {

bool registerNamespace ( string prefix, string namespaceURI )

}

Registers the namespaceURI and prefix with the DOMXpath object.

Lista de parámetros

prefix

The prefix.

namespaceURI

The URI of the namespace.

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.