You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Matthieu RIOU <ma...@yahoo.fr> on 2003/10/19 21:41:48 UTC
XPath returning boolean expression not working ??
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