xpath_eval
(PHP 4 >= 4.0.4)
xpath_eval — Calcule un chemin XPath à partir d'une chaîne
Description
XPathContext
XPathObject xpath_eval
( string $xpath_expression
[, domnode $contextnode
] )
XPathObject xpath_eval
( XPathContext $xpath_context
, string $xpath_expression
[, domnode $contextnode
] )
Le paramètre optionnel contextnode sert à spécifier des requêtes XPath relatives.
Voir aussi xpath_new_context().