for $file in db:open('Translation-management', '/xliff-history/fr-ca')[not(ends-with(base-uri(), 'accessibility.xml'))
and not(ends-with(base-uri(), 'account-add.xml'))
and not(ends-with(base-uri(), 'account-sync.xml'))]
let $sub-uri := substring-after($file/base-uri(), 'Translation-management')
return db:delete('Translation-management-simple', $sub-uri)
where the DB name in the db:delete doesn't exist (my fault, I forgot to rename it).
Stil,, it'd be nice to have a more specific error message for a case like this. Other similar function return DB does not exist, if I recall properly.
Thanks,
France
--
France Baril
Architecte documentaire / Documentation architect
france.baril@architextus.com
(514) 572-0341