Gary,
Your code works but this code would be much faster:
cts:uris("", (), cts:directory-query("/resources/"))
(Make sure you have the URI lexicon enabled; that index is why this can
be so much faster.)
Someone else mentioned cts:uri-match(). That would work also.
-jh-
Gary Vidal wrote:
I think this would work
for $i in xdmp:directory("/resources/")
return
fn:document-uri($i)
Gary Vidal
American Lawyer Media
Sr. .Net Developer
Tel: 212-592-4946
[EMAIL PROTECTED]
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general