Commit 1079b58b authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

xq fixtures

parent 6f2cb230
Loading
Loading
Loading
Loading
+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