Php/docs/class.domxpath

提供:Dev Guides
< Php
移動先:案内検索

(PHP 5, PHP 7)

はじめに

XPath 1.0 をサポートします。


クラス概要


DOMXPath {

/* プロパティ */

public DOMDocument $document

/* メソッド */

public __construct ( DOMDocument $doc )

public evaluate ( string $expression [, DOMNode $contextnode [, bool $registerNodeNS = true ]] ) : mixed

public query ( string $expression [, DOMNode $contextnode [, bool $registerNodeNS = true ]] ) : DOMNodeList

public registerNamespace ( string $prefix , string $namespaceURI ) : bool

public registerPhpFunctions ([ mixed $restrict ] ) : void

}

プロパティ

document


目次