xpath_new_context

(PHP 4 >= 4.0.4, PECL)

xpath_new_context --  Creates new xpath context

说明

XPathContext xpath_new_context ( domdocument dom_document )

See also xpath_eval().