Title: Message
it works fine this way
//doc[contains(userID,"Jack") and contains(date,"2004-01-23")]
So I cannot see why it wouldn't work with an or operator...
----- Original Message -----
From: Jim Fuller
Sent: Friday, January 30, 2004 10:16 AM
Subject: RE: XPath or operator

have u tried just one contains() function, as I seem to be having problems with using this xpath when querying xindice.
 
cheers, jim
-----Original Message-----
From: Boris Rousseau [mailto:[EMAIL PROTECTED]
Sent: 30 January 2004 09:30
To: [email protected]
Subject: XPath or operator

Hi all,
 
I am querying a collection of document by date using the following:
//doc([(contains(userID,"Jack") and contains(date,"2004-01-23")) or contains(date,"2004-01-24")])
 
However, this gives me an empty result set while I definitively have some records for those date and this user.
Is there a problem with the "or" operator?
or is it something to do with the use of braces?
 
Regards,
Boris

 

Reply via email to