PHP 手册
后退 |  | 前进

# xpath_eval

(PHP 4 >= 4.0.4, PECL)

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

## 说明

class 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().

后退 | 起点 | 前进
xpath_eval_expression | 上一级 | xpath_new_context