PHP Handbuch
Zurück |  | Nach vorne

# 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.

Zurück | Zum Anfang | Nach vorne
DOMText->splitText | Nach oben | DOMXPath->registerNamespace