14 May
2020
14 May
'20
5:33 p.m.
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) || ' ') 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
-- France Baril Architecte documentaire / Documentation architect france.baril@architextus.com