title: How to list all the URI of all documents in a directory in marklogic
body: <p>Hi how can i retrieve the URI of all the documents in directory. I create the below xquery to achieve that but that doesn't helps.</p>
  
  <pre><code>for $i in xdmp:directory("/Test/performance/results/","infinity")
  let $k := document-uri(fn:doc($i))
  return &lt;li&gt;{$k}&lt;/li&gt;
  </code></pre>