11 May
2020
11 May
'20
9:29 a.m.
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) || ' ') let $debug := file:append('debug-a.xml', 'item: ' || $i || ' is file: ' || file:is-file($i) || ' ') 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