Creates new xpath context

xpath_eval
xpath_register_ns_auto
DOM XML (PHP 4) Functions
PHP Manual

# xpath_new_context

(PHP 4)

xpath_new_context — Creates new xpath context

### Description

XPathContext xpath_new_context ( domdocument `$dom_document` )

Creates a new xpath context.

### See Also

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

xpath_eval
xpath_register_ns_auto
DOM XML (PHP 4) Functions
PHP Manual