Commit 47c0a0a3 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

fixture update

parent e9cd2e87
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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>