Loading fixtures/xq/document.xq +5 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,11 @@ xquery version "3.0"; import module namespace database = 'https://certic.unicaen.fr/max/database'; declare variable $lang external; declare variable $doc external; declare variable $path external; let $doc := database:get-document($path) return <section> <h1>Custom xquery : xq/document.xq</h1> <h2>{replace(base-uri($doc),'/' || $database:max-db || '/','')} - {$lang}</h2> Loading Loading
fixtures/xq/document.xq +5 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,11 @@ xquery version "3.0"; import module namespace database = 'https://certic.unicaen.fr/max/database'; declare variable $lang external; declare variable $doc external; declare variable $path external; let $doc := database:get-document($path) return <section> <h1>Custom xquery : xq/document.xq</h1> <h2>{replace(base-uri($doc),'/' || $database:max-db || '/','')} - {$lang}</h2> Loading