Changes

Jump to navigation Jump to search
5 bytes added ,  12:39, 1 August 2022
<syntaxhighlight lang="xquery">
db:add('database', '/path/to/xml/documentsresources/')
</syntaxhighlight>
<syntaxhighlight lang="xquery">
let $db := 'documents'
let $root := '/path/to/documentsresources/'
for $path in file:list($root)
where matches($path, '\d+')
<syntaxhighlight lang="xquery">
let $failures := db:get-value('miscresources')
return map:for-each($failures, function($filename, $error) {
$filename || ': ' || $error
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu