public query ( string $expression, DomNode $contextnode = null, boolean $registerNodeNS = true ) : |
||
$expression | string | An XPath expression |
$contextnode | DomNode | The context of the query, by default, the root node |
$registerNodeNS | boolean | true by default, false to disable the automatic registration of the context node |
return | A list of qualifying nodes |