xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu RIOU <matthieu_r...@yahoo.fr>
Subject XPath returning boolean expression not working ??
Date Sun, 19 Oct 2003 19:41:48 GMT
Hi,

I'm executing a simple xpath expression testing the
equality of two nodes. I should get a resource set
containing a single resource holding 'true' or 'false'
but actually the set returned is empty.

The document I store is :
<root>
   <elmt1>testText</elmt1>
   <elmt2>testText</elmt2>
</root>

and I'm executing the xpath query
'/root/elmt1=/root/elmt2'. I tried exactly the same
thing using DOM4J and I got the expected result (a
node holding 'true'). Am I doing something wrong ??

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran├žais !
Yahoo! Mail : http://fr.mail.yahoo.com

Mime
View raw message