PHP 手冊
上一頁 |  | 下一頁

# DOMXPath->query

(no version information, might be only in CVS)

DOMXPath->query -- Evaluates the XPath expression in the given string

## Description

object DOMXPath->query ( string expression [, object contextnode])

Returns a DOMNodelist containing all nodes matching expression. Any expression which do not return nodes will return an empty DOMNodelist.

The optional contextnode can be specified for doing relative XPath queries.

上一頁 | 最開頭 | 下一頁
DOMText->splitText | 上一層 | DOMXPath->registerNamespace