Changes

Jump to navigation Jump to search
<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
12,957

edits

Navigation menu