2010/1/20 Helen Chen <[email protected]>:
> Hi Andrew and Geert,
>
> It did work much much faster and better, I can run it on production now.
>  Thanks a lot.
>
> And I got one problem:
>
> at the end of the query, if I have /fn:document-uri(.), like my query is :
> fn:doc()/ns1:article//ns1:sub[fn:not(@temp1 or @temp2 )]/fn:document-uri(.)
> then I got empty sequence,

change it to pass the root node to the document-uri function:

fn:document-uri(fn:root(.))


cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to