sync develop branch with upstream by rebasing
git checkout develop
git fetch upstream develop
git rebase upstream/develop
check log to confirm commits correspond with the ones for exist/develop
(: create an element in a particular namespace :) | |
element { QName("http://www.w3.org/1999/xhtml", local-name($node)) } { | |
$node/@*, | |
$node/node() | |
} |
xquery version "3.1"; | |
(:Bulgarian, Czech, Dutch, French, German, Greek, Italian, Norwegian, Polish, Portuguese, Romanian, Slovenian, Spanish, Swedish, Turkish, Ukrainian, Russian, Georgian:) | |
(:Cymru, Finnish, Hebrew, Hungarian, Japan:) | |
let $collection := '/db/apps/lang' | |
let $temp-target := '/db/apps/i18n/temp' | |
let $final-target := '/db/apps/i18n/common' | |
let $languages := ('bg', 'cs', 'nl', 'fr', 'de', 'el', 'it', 'no', 'pl', 'pt', 'ro', 'sl', 'es', 'sv', 'tr', 'uk', 'cy', 'fi', 'he', 'hu', 'ja', 'zh_CN', 'zh_TW', 'ka', 'ru') | |
return |
convert -density 150 -antialias "49548.pdf" -resize 1024x -quality 100 "49548.png" |
xquery version "3.1"; | |
sm:create-group('boys'), | |
sm:create-group('girls'), | |
sm:create-group('existsol'), | |
(: create 3 accounts with personal groups and additional group :) | |
sm:create-account('magda', 'm-pass', ('girls', 'existsol')), | |
sm:create-account('lars', 'l-pass', ('boys', 'existsol')), | |
sm:create-account('joern', 'l-pass', ('boys', 'existsol')), |
sync develop branch with upstream by rebasing
git checkout develop
git fetch upstream develop
git rebase upstream/develop
check log to confirm commits correspond with the ones for exist/develop
xquery version "3.1"; | |
declare namespace tei="http://www.tei-c.org/ns/1.0"; | |
declare namespace output="http://www.w3.org/2010/xslt-xquery-serialization"; | |
declare option output:method "html5"; | |
declare option output:media-type "text/html"; |
xquery version "3.1"; | |
declare function local:change-user($collection, $user, $group) { | |
if (xmldb:collection-available($collection)) then | |
( | |
for $child in xmldb:get-child-collections($collection) | |
let $path := concat($collection, '/', $child) | |
return | |
xmldb:set-collection-permissions($path, $user, $group, 493) | |
) |
repo:undeploy("http://history.state.gov/ns/site/hsg"), | |
repo:remove("http://history.state.gov/ns/site/hsg"), | |
repo:install-and-deploy-from-db("/db/system/repo/hsg-shell-0.2.xar") |
xquery version "3.1"; | |
for $i in collection('/db/apps/data/a')/* | |
return | |
xmldb:move('/db/apps/data/a', '/db/apps/data/a/b/', util:document-name($i)) |
http://localhost:8080/exist/apps/eXide/index.html?open=/db/apps/data/names/Agaios.xml |