Loading fixtures/xq/document.xq 0 → 100644 +12 −0 Original line number Diff line number Diff line xquery version "3.0"; import module namespace database = 'https://certic.unicaen.fr/max/database' at '../.max/basex/webapp/max/core/database.xqm'; declare variable $lang external; declare variable $doc external; <section> <h1>Custom xquery : xq/document.xq</h1> <h2>{replace(base-uri($doc),'/' || $database:max-db || '/','')} - {$lang}</h2> {$doc} </section> No newline at end of file Loading
fixtures/xq/document.xq 0 → 100644 +12 −0 Original line number Diff line number Diff line xquery version "3.0"; import module namespace database = 'https://certic.unicaen.fr/max/database' at '../.max/basex/webapp/max/core/database.xqm'; declare variable $lang external; declare variable $doc external; <section> <h1>Custom xquery : xq/document.xq</h1> <h2>{replace(base-uri($doc),'/' || $database:max-db || '/','')} - {$lang}</h2> {$doc} </section> No newline at end of file