Loading max.xq +9 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ declare %output:method("html") %output:html-version("5.0") %output:encoding("UTF-8") %output:doctype-system("html") %rest:path( "/max.html") function max:home(){ let $jsonFile := file:parent(static-base-uri()) ||'package.json' Loading Loading @@ -55,6 +56,7 @@ declare %output:method("html") %output:html-version("5.0") %output:encoding("UTF-8") %output:doctype-system("html") %rest:path( "/{$project}") function max:projectHome($project){ let $redirection := Loading @@ -72,6 +74,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:path( "/{$project}/{$page=[a-zA-Z0-9_]+}.html") Loading Loading @@ -130,6 +133,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:path("/{$project}/sommaire/{$doc=.*}.html") Loading @@ -143,6 +147,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:query-param("search", "{$search}") Loading Loading @@ -180,6 +185,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:query-param("search", "{$search}") Loading Loading @@ -232,6 +238,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:path("/{$project}/fragment/{$id}.html") Loading @@ -244,6 +251,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:query-param("xsl", "{$xsl}") Loading Loading @@ -287,6 +295,7 @@ declare %rest:error("err:max") %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:error-param("message", "{$message}") Loading rxq/alignment.xqm +2 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ declare %rest:GET %output:method("html") %output:indent("no") %output:html-version("5.0") %output:doctype-system("html") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}.html") function max.alignment:alignedHTML($project, $doc, $id1, $id2){ let $dbPath := max.config:getProjectDBPath($project) Loading Loading
max.xq +9 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ declare %output:method("html") %output:html-version("5.0") %output:encoding("UTF-8") %output:doctype-system("html") %rest:path( "/max.html") function max:home(){ let $jsonFile := file:parent(static-base-uri()) ||'package.json' Loading Loading @@ -55,6 +56,7 @@ declare %output:method("html") %output:html-version("5.0") %output:encoding("UTF-8") %output:doctype-system("html") %rest:path( "/{$project}") function max:projectHome($project){ let $redirection := Loading @@ -72,6 +74,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:path( "/{$project}/{$page=[a-zA-Z0-9_]+}.html") Loading Loading @@ -130,6 +133,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:path("/{$project}/sommaire/{$doc=.*}.html") Loading @@ -143,6 +147,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:query-param("search", "{$search}") Loading Loading @@ -180,6 +185,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:query-param("search", "{$search}") Loading Loading @@ -232,6 +238,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:path("/{$project}/fragment/{$id}.html") Loading @@ -244,6 +251,7 @@ declare %rest:GET %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:query-param("xsl", "{$xsl}") Loading Loading @@ -287,6 +295,7 @@ declare %rest:error("err:max") %output:method("html") %output:html-version("5.0") %output:doctype-system("html") %output:indent("no") %output:encoding("UTF-8") %rest:error-param("message", "{$message}") Loading
rxq/alignment.xqm +2 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,8 @@ declare %rest:GET %output:method("html") %output:indent("no") %output:html-version("5.0") %output:doctype-system("html") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}.html") function max.alignment:alignedHTML($project, $doc, $id1, $id2){ let $dbPath := max.config:getProjectDBPath($project) Loading