xpath_eval

(PHP 4 >= 4.0.4)

xpath_eval --  Evaluates the XPath Location Path in the given string

Description

array xpath_eval ( XPathContext xpath_context, string xpath_expression [, domnode contextnode] )

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

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

See also xpath_new_context().