[phpXML] Bug in phpXml?
Brought to you by:
bs_php,
nigelswinson
From: Nigel S. on b. of <ma...@po...> - 2001-10-10 22:09:21
|
Hi! I found that "not" operator doesn't work properly. for example Xpath expression like : //car[not(@*)] should select those nodes, which doesn't contain any attributes. <cars> <car colour="Blue"> ... </car> <car colour="Red"> ... </car> <car> <- this should be highlighted. ... </car> </cars> and second problem: When I use a "|" operator then in result array (of evaluate method) nodes appear in a order of "Or-ed" expressions , not in arrangement as in xml structure. Example XPath: //bear | //bird <animals> <bird> (selected as third) </bird> <bear> (selected as first) </bear> <bear> (selected as second) </bear> <bird> </bird> (selected as fourth) </animals> Similar problem shows in use of axes like "ancestors-or-self" if anyone know how to solve those problems, please write... Maciej Kus ps. <phpXML/> is something what I needed :) -------------------- [POLBOX - REKLAMA] ------------------------ Sprawd swoje bezpieczeñstwo w Sieci Zabezpiecz siê ! www.symantec.com/region/pl/product/nis2001.html ---------------------------------------------------------------- -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |