Manual do PHP
Anterior |  | Próxima

# DOMXPath->query

(no version information, might be only in CVS)

DOMXPath->query -- Evaluates the XPath expression in the given string

## Description

object DOMXPath->query ( string expression [, object contextnode])

Returns a DOMNodelist containing all nodes matching expression. Any expression which do not return nodes will return an empty DOMNodelist.

The optional contextnode can be specified for doing relative XPath queries.

Anterior | Principal | Próxima
DOMText->splitText | Acima | DOMXPath->registerNamespace