Re: Last tango in Paris
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. <nig...@us...> - 2002-07-14 01:20:09
|
> On first glance, xpath syntax is very simple, but there are a lot of > pits to fall into :-( Yeah I'm finding loads of them today. I thought XPath was really very very simple, but if you go past the simple queries, it seems to get a little wierd to get just right. Php.XPath currently doesn't cope with a lot of this very well so I'm having a good hack at the moment to bring it up to speed. To my horror I found that a query like this doesn't even work: //*[DDD] :o/ The good news is that it's all slotting together in a much cleaner way now, and the class should be much better because of it. The core XPath code is to a certain degree unchanged from the very original phpxml code that Php.XPath came from. That's all changing now... Nigel |