Re: [PHP-DEV] relative xpath queries

2002-07-16 Thread Dan Allen
Garland foster ([EMAIL PROTECTED]) wrote: > If this gets attention I'd add another request: > Please make the nodeset an array of REFERENCES to dom nodes, so we > wan use Xpath to locate a node and then we can change it using DOM > functions. > It will make a sensible difference to implement, for

Re: [PHP-DEV] relative xpath queries

2002-07-16 Thread Garland foster
Xpath expressions. Garland - Original Message - From: Dan Allen <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 16, 2002 5:56 PM Subject: [PHP-DEV] relative xpath queries > XPath is crippled without the ability to do relative xpath queries. > The interface

[PHP-DEV] relative xpath queries

2002-07-16 Thread Dan Allen
XPath is crippled without the ability to do relative xpath queries. The interface is already provided by the libxml2 engine, it is just a matter of adding the option to xpath_eval(). If you are working recursively in an xml document (which you are always doing) and you need to run an xpath query