DOMXPath->query Evaluates the XPath expression in the given string Description objectDOMXPath->query stringexpression objectcontextnode 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.