Loading rxq/alignment.xqm +1 −2 Changes for rxq/alignment.xqm: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ import module namespace max.util = 'pddn/max/util' at 'util.xqm'; declare %rest:GET %output:method("html") %rest:path("/{$project}/{$doc=[^ui]}/{$id1}/{$id2}") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}") function max.alignment:alignedHTML($project, $doc, $id1, $id2){ let $dbPath := max.config:getProjectDBPath($project) let $xsltDoc := max.util:buildXSLTDoc( Loading Loading @@ -47,7 +47,6 @@ declare function max.alignment:runAlignmentQuery($project, $routeId, $id1 as xs: 'dbPath': max.config:getProjectDBPath($project), 'document': $routeId } (: max.route:getRouteQueryBindings($project, $routeId) :) ) else max.alignment:runDefaultAlignmentQuery($project, $routeId, $id1, $id2) Loading rxq/config.xqm +1 −1 Changes for rxq/config.xqm: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ declare function max.config:getSecondAlignmentPrefix($routeDoc){ }; declare function max.config:getTextAlignmentQueryFile($routeDoc){ let $filePath:= doc($max.config:CONFIGURATION_FILE)//alignment[@document=$routeDoc and @align='true']/@align-xquery-file let $filePath:= doc($max.config:CONFIGURATION_FILE)//alignment[@document=$routeDoc]/@align-xquery-file return if($filePath) then string("../" || $filePath) else() Loading tools/demo/demo_lorem_config_inc.xml +1 −1 Changes for tools/demo/demo_lorem_config_inc.xml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ </checkboxOptions> </textOptions> <!-- attribut @align-xquery-file pour surchage de la XSL d'alignement--> <!-- attribut @align-xquery-file pour surchage de la XQUERY d'alignement--> <alignment document="demo_align_fr.xml" first-prefix="fr" second-prefix="lat"/> Loading Loading
rxq/alignment.xqm +1 −2 Changes for rxq/alignment.xqm: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ import module namespace max.util = 'pddn/max/util' at 'util.xqm'; declare %rest:GET %output:method("html") %rest:path("/{$project}/{$doc=[^ui]}/{$id1}/{$id2}") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}") function max.alignment:alignedHTML($project, $doc, $id1, $id2){ let $dbPath := max.config:getProjectDBPath($project) let $xsltDoc := max.util:buildXSLTDoc( Loading Loading @@ -47,7 +47,6 @@ declare function max.alignment:runAlignmentQuery($project, $routeId, $id1 as xs: 'dbPath': max.config:getProjectDBPath($project), 'document': $routeId } (: max.route:getRouteQueryBindings($project, $routeId) :) ) else max.alignment:runDefaultAlignmentQuery($project, $routeId, $id1, $id2) Loading
rxq/config.xqm +1 −1 Changes for rxq/config.xqm: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ declare function max.config:getSecondAlignmentPrefix($routeDoc){ }; declare function max.config:getTextAlignmentQueryFile($routeDoc){ let $filePath:= doc($max.config:CONFIGURATION_FILE)//alignment[@document=$routeDoc and @align='true']/@align-xquery-file let $filePath:= doc($max.config:CONFIGURATION_FILE)//alignment[@document=$routeDoc]/@align-xquery-file return if($filePath) then string("../" || $filePath) else() Loading
tools/demo/demo_lorem_config_inc.xml +1 −1 Changes for tools/demo/demo_lorem_config_inc.xml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ </checkboxOptions> </textOptions> <!-- attribut @align-xquery-file pour surchage de la XSL d'alignement--> <!-- attribut @align-xquery-file pour surchage de la XQUERY d'alignement--> <alignment document="demo_align_fr.xml" first-prefix="fr" second-prefix="lat"/> Loading