Ah! This resolved that! Thanks!

On Mon, May 11, 2020 at 8:29 AM Christian Grün <christian.gruen@gmail.com> wrote:
Hi France,

Does your code work without Docker?

> let $src-dir-items := file:list('ContentDBs')
...
>         let $debug := file:append('debug-a.xml', 'item: ' || $i || ' is dir: ' || file:is-dir($i) ||  '&#10;')
>         let $debug := file:append('debug-a.xml', 'item: ' || $i || ' is file: ' || file:is-file($i) ||  '&#10;')
>         return $i

Please note that file:list only returns the name of the files, not the
paths. You can try file:children instead [1].

Hope this helps,
Christian

[1] https://docs.basex.org/wiki/File_Module#file:children


--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com