$dom->query()
Executes an XPath query in the document
Parameters
Name | Type | Default | Description |
---|---|---|---|
$query * | string |
– | |
$node | DOMNode |null |
null |
Optional context node for relative queries |
Return type
DOMNodeList
|false