DOMXPath::query(No version information available, might be only in CVS) DOMXPath::query — Evaluates the given XPath expression ОписаниеExecutes the given XPath expression . Список параметров
Возвращаемые значенияReturns a DOMNodeList containing all nodes matching the given XPath expression . Any expression which do not return nodes will return an empty DOMNodeList. Примеры
Пример #1 Getting all the english books
<?phpРезультат выполнения данного примера:
We can also use the contextnode parameter to shorten our expression:
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |