Manual do PHP Referência das Funções Manipulação de XML DOM DOMXPath DOMXPath::__construct DOMXPath DOMXPath::evaluate DOMXPath::__construct (PHP 5)DOMXPath::__construct — Creates a new DOMXPath object Descrição public DOMXPath::__construct ( DOMDocument $doc ) Creates a new DOMXPath object. Parâmetros doc The DOMDocument associated with the DOMXPath.