PHP Doku:: Creates a new DOMXPath object - domxpath.construct.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzXML-ManipulationDocument Object ModelThe DOMXPath classDOMXPath::__construct

Ein Service von Reinhard Neidl - Webprogrammierung.

The DOMXPath class

<<The DOMXPath class

DOMXPath::evaluate>>

DOMXPath::__construct

(PHP 5)

DOMXPath::__construct Creates a new DOMXPath object

Beschreibung

DOMXPath::__construct ( DOMDocument $doc )

Creates a new DOMXPath object.

Parameter-Liste

doc

The DOMDocument associated with the DOMXPath.


2 BenutzerBeiträge:
- Beiträge aktualisieren...
thsoft at vipmail dot hu
4.07.2007 13:57
As of PHP 5.2.0, DOMXPath object implements XPath 1.0.
Saulo Vallory
27.06.2007 0:23
The DOMXPath object doesn't create a reference to the document. If you load a new xml using either load, loadXML or loadHTML functions the DOMXPath object will still query and evaluate over the source in the DOMDocument when it was created.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)