Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
DOM XML Functions
PHP Manual

xpath_eval

(PHP 4 >= 4.0.4)

xpath_eval Evaluates the XPath Location Path in the given string

Description

XPathContext
XPathObject 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().


DOM XML Functions
PHP Manual