Commit 1970be2f authored by Jérôme Chauveau's avatar Jérôme Chauveau
Browse files

Merge branch 'ag/noIndent' into 'dev'

ajout des indent=no

See merge request pdn-certic/MaX!30
parents 851cf348 ddef96e4
Loading
Loading
Loading
Loading
+11
Changes for max.xq: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path( "/{$project}/{$page=[a-zA-Z0-9_]+}")
function max:page($project, $page){
@@ -106,6 +107,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/sommaire/{$doc=.*\.xml|.*\.svg}")
function max:documentTOC($project, $doc){
@@ -118,6 +120,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/{$routeDoc=[^plugins].*\.xml}/{$id}")
function max:fragmentToHTMLPage($project, $routeDoc, $id){
@@ -153,6 +156,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/{$routeDoc=[^plugins].*\.xml}/{$id}/target/{$targetId}/{$search}")
function max:HighlightedSearchToHTMLPage($project, $routeDoc, $id, $targetId, $search){
@@ -173,6 +177,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/{$routeDoc=[^plugins].*\.xml}/focus/{$idFocus}")
function max:focusOnIdToHTML($project, $routeDoc, $idFocus){
@@ -190,6 +195,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/{$routeDoc=[^plugins].*\.xml}/focus/{$idPart}/{$idFocus}")
function max:focusOnPartAndIdToHTMLPage($project, $routeDoc, $idPart, $idFocus){
@@ -205,6 +211,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/checkplugins")
function max:checkPlugin($project){
@@ -237,6 +244,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/fragment/{$id}")
function max:getXMLByID($project, $id){
@@ -248,6 +256,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:query-param("xsl", "{$xsl}")
%rest:query-param("xslparams", "{$xslparams}")
@@ -282,6 +291,7 @@ declare
%rest:GET
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:path("/{$project}/doc/{$doc=.*\.xml|.*\.svg}")
function max:getFullDocument($project, $doc){
@@ -303,6 +313,7 @@ declare
%rest:error("err:max")
%output:method("html")
%output:html-version("5.0")
%output:indent("no")
%output:encoding("UTF-8")
%rest:error-param("message", "{$message}")
%rest:error-param("desc", "{$desc}")