|
PHP5中文手册
xpath_eval_expression(PHP 4 >= 4.0.4) xpath_eval_expression — Evaluates the XPath Location Path in the given string 说明XPathContext
XPathObject xpath_eval_expression
( string $expression
[, domnode $contextnode
] )
XPathObject xpath_eval_expression
( XPathContext $xpath_context
, string $expression
[, domnode $contextnode
] )
Example#1 xpath_eval_expression() Example
<?php 上例将输出:
See also xpath_eval(). |