|
DOMXPath クラスはじめにHTML や XML 文書に対して、 XPath 1.0 のクエリを使うことを許可します。 クラス概要
DOMXPath
/* プロパティ */
public
readonly
DOMDocument
$document;
public
bool
$registerNodeNamespaces;
/* メソッド */
public __construct(DOMDocument
$document, bool $registerNodeNS = true)public mixed evaluate(string
$expression, DOMNodenull $contextNode = null, bool $registerNodeNS = true)public mixed query(string
$expression, DOMNodenull $contextNode = null, bool $registerNodeNS = true)public static string quote(string
$str)public bool registerNamespace(string
$prefix, string $namespace)public void registerPhpFunctionNS(string
$namespaceURI, string $name, callable $callable)public void registerPhpFunctions(stringarraynull
$restrict = null)プロパティ
変更履歴
|