hello all,

i am in a flux to understand whats the difference between following two
queries

fn:doc(xdmp:node-uri(
cts:search(//books,cts:and-query((cts:element-word-query(xs:QName("title"),"human"
, ("wildcarded", "case-insensitive")),cts:element-word-query
(
xs:QName("status"),"Unavai* " ,

("wildcarded", "case-insensitive")

)
))
)))//book/@year=2002

returns TRUE

AND

fn:doc(/documents/book2)//book/@year=2002
 Returns FALSE

Argument to first query also returns the uri of document which satisfies the
search criteria whereas when i pass this Uri by myself it returns false.

please reply.

regards
Rahul Saluja
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to