View Single Post
Old 07-27-2009, 08:51 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

CSS-style selectors get translated to XPath under-the-hood. Wherever Zend's wrapper makes the call through to DOMXPath::query, you'll have to provide a context node as the second argument. Or, that's one way at least.
Salathe is offline  
Reply With Quote
The Following 2 Users Say Thank You to Salathe For This Useful Post:
codefreek (07-28-2009), Wildhoney (07-27-2009)