-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobals.xqm
23 lines (21 loc) · 912 Bytes
/
globals.xqm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
xquery version '3.0' ;
module namespace G = 'xpr.globals';
(:~
: This xquery module is an application for xpr
:
: @author emchateau & sardinecan (ANR Experts)
: @since 2019-01
: @licence GNU http://www.gnu.org/licenses
:
: xpr is free software: you can redistribute it and/or modify
: it under the terms of the GNU General Public License as published by
: the Free Software Foundation, either version 3 of the License, or
: (at your option) any later version.
:
:)
declare namespace file = "http://expath.org/ns/file" ;
declare variable $G:xsltFormsPath := "/xpr/files/xsltforms/xsltforms/xsltforms.xsl" ;
declare variable $G:xsltForms16Path := "/xpr/files/xsltforms16/xsltforms.xsl" ;
declare variable $G:home := file:base-dir() ;
declare variable $G:interface := fn:doc($G:home || "files/interface.xml") ;
declare variable $G:years := (1696, 1706, 1716, 1726, 1736, 1746, 1756, 1766, 1776, 1786);