21 Feb
2022
21 Feb
'22
11:52 p.m.
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? -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org