PHP 7.1.0 Released

xpath_new_context

(PHP 4)

xpath_new_context ساخت زمینه xpath

Description

XPathContext xpath_new_context ( domdocument $dom_document )

ساخت زمینه xpath.

See Also

  • xpath_eval() - ارزیابی محل مسیر XPath در رشته داده شده

add a note add a note

User Contributed Notes 2 notes

up
0
David
10 years ago
WARNING FOR PHP5 USERS! (if you are having xpath problems)

There seem to be several versions of the DOM library/extension arround, it would appear that the one in this page is for PHP4 only, while this is the one in PHP5:

http://us2.php.net/manual/en/ref.dom.php

See the DOMXPath class for xpath functions.
up
0
webmaster at ebinformatique dot com
10 years ago
Should that not be placed as:
DomDocument->xpath_new_context as it seems to be a method used from a DomDocument object.
To Top