DOM
PHP Manual

The DOMXPath class

(PHP 5, PHP 7)

Introduction

Supports XPath 1.0

Class synopsis

DOMXPath {
/* Properties */
/* Methods */
public __construct ( DOMDocument $doc )
public mixed evaluate ( string $expression [, DOMNode $contextnode [, bool $registerNodeNS = TRUE ]] )
public DOMNodeList query ( string $expression [, DOMNode $contextnode [, bool $registerNodeNS = TRUE ]] )
public bool registerNamespace ( string $prefix , string $namespaceURI )
public void registerPhpFunctions ([ mixed $restrict ] )
}

Properties

document

Table of Contents


DOM
PHP Manual