1- ,
for $each in collection("collection-name")
return fn:document-uri($each)
2- If you have the same directory structure, use
for $each in xdmp:directory("/myDirectory/", "infinity")
return fn:document-uri($each)
3- If you have not used any of the above cases, you can use cts:uris()
Please note that you cts:uris(), URI Lexiconmust enable it for use .
source
share