Commit 47c0a0a3 authored by Jérôme Chauveau's avatar Jérôme Chauveau
Browse files

fixture update

parent e9cd2e87
Loading
Loading
Loading
Loading
+4 −1
Changes for fixtures/xq/document.xq: 4 added lines, 1 removed line.
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>