DOMXPath::evaluate
DOMXPath::evaluate
(PHP 5 >= 5.1.0, PHP 7)
DOMXPath::evaluate — Evaluates the given XPath expression and returns a typed result if possible
Description
public mixed DOMXPath::evaluate ( string $expression [, DOMNode $contextnode [, bool $registerNodeNS = true ]] )
Executes the given XPath expression
and returns a typed result if possible.
Parameters
-
expression
-
The XPath expression to execute.
-
登录查看完整内容