On Mon, 2022-02-21 at 16:28 -0500, Jonathan Robie wrote:
I have 929 files with names like these:
01-Gen-001.xml
I would like to add them to a new database in the same order that I see if I do $ ls in that directory,
Are you doing this from within XQuery? sort( file:list($dir)[matches(., '.xml$')] ) ! db:add($db, doc(.), .)
maybe?