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