Be careful though ... xdmp:directory() returns (not just lists) the
documents in a directory.

If you have large files in your directory, then you could run into some
memory problems.

I kept on running out of memory because I had a growing number of
big zipfiles in the directory I was querying.

Regards,
Danny

On Feb 26, 2012, at 1:36 PM, Todd Gochenour <[email protected]>
wrote:

> (2) I found the XQuery for listing the files in a directory.  It reads:
>
> xdmp:directory('/analysis/')/xdmp:node-uri(.)
>
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to