Scholar Repository
Home>Manual>Creates a new DOMXPath object

Creates a new DOMXPath object


DOMXPath::__construct

(PHP 5)

DOMXPath::__constructCreates a new DOMXPath object

Description

DOMXPath::__construct ( DOMDocument $doc )

Creates a new DOMXPath object.

Parameters

doc

The DOMDocument associated with the DOMXPath.


Home>Manual>Creates a new DOMXPath object