Top "Domxpath" questions

domxpath is a class in PHP's DOM API to support XPATH 1.0

DOMXpath - Get href attribute and text value of an a element

So I have a HTML string like this: <td class="name"> <a href="/blah/somename23123">Some …

php xpath domxpath
PHP xpath contains class and does not contain class

The title sums it up. I'm trying to query an HTML file for all div tags that contain the class …

php xpath domxpath xpathquery
Traversing child nodes with PHP DOMXpath?

I'm having some trouble understanding what exactly is stored in childNodes. Ideally I'd like to do another xquery on each …

php dom xpath domxpath
XPath to get one level of childnodes

Using DOMXPath::query is it possible to get just one level deep of childNodes? For example if I had a …

php xpath domxpath
How to select multiple attributes for XPath query

Possible Duplicate: How do I select multiple sets of attributes within an XML document using XPath? My HTML code: <…

php html xpath domdocument domxpath
PHP - DOMXpath - Get the result

I have errors when I want to print the result of an evaluate expression with XPath. $url = $xpath->evaluate(…

php xpath domdocument domxpath evaluate