Hi Matt,
 
I use recordloader to load all documents in subdirectory X from
I use a batchfile with a recursive-directory loop like 
FOR /R . %i IN (.) DO CALL recordloader [parameters]
 
http://developer.marklogic.com/howto/tutorials/2006-06-recordloader.xqy
 
Regards
EdgarS

________________________________

Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Coarr, Matt
Verzonden: dinsdag 27 november 2007 16:32
Aan: [email protected]
Onderwerp: [MarkLogic Dev General] how to iterate over documents in a
nesteddirectory structure


How can I iterate over documents in a nested directory structure.  I
have a directory (with a few levels of subdirectories) on my file
system.  I want to create an xquery to iterate over each of these files
and call xdmp:document-load() on each document.
 
I thought xdmp:directory() would do the trick, but that doesn't seem to
be working (it probably works on documents in the db already).
 
Matt
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to