Scholar Repository
Home>Manual>Evaluates the XPath Location Path in the given string

Evaluates the XPath Location Path in the given string


xpath_eval

(PHP 4)

xpath_evalEvaluates the XPath Location Path in the given string

Description

XPathObject XPathContext::xpath_eval ( string $xpath_expression [, domnode $contextnode ] )
XPathObject xpath_eval ( XPathContext $xpath_context , string $xpath_expression [, domnode $contextnode ] )

The optional contextnode can be specified for doing relative XPath queries.

See also xpath_new_context().


Home>Manual>Evaluates the XPath Location Path in the given string