Boris Rousseau wrote:

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")])


//doc([..]) does not make any sense, especially trailing ')'. I think you really meant //doc[...] there.

See also W3C XPath spec, it's excellent resource, can save you lots of time and confusion:
http://www.w3c.org/TR/xpath



Vadim




Reply via email to