Changes

Jump to navigation Jump to search
72 bytes removed ,  18:32, 1 December 2023
m
Text replacement - "</syntaxhighlight>" to "</pre>"
<syntaxhighlight lang="xquery">
<xml>hello world</xml> update { }
</syntaxhighlightpre>
==Updating Functions==
<syntaxhighlight lang="xquery">
db:export("DB", "/home/john/xml/texts", map { 'method': 'text' })
</syntaxhighlightpre>
The following code can be used to export parts of the database:
<syntaxhighlight lang="xquery">
file:write($path, $doc)
)
</syntaxhighlightpre>
|}
where not(file:is-dir($path))
return db:put('db', doc($path), $file)
</syntaxhighlightpre>
|}
let $trg := $trg-path || substring-after($src, $src-path)
return db:put-binary($db, db:get-binary($db, $src), $trg)
</syntaxhighlightpre>
|}
),
'cities'
)</syntaxhighlightpre>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu