Loading rxq/util.xqm +2 −1 Original line number Diff line number Diff line Loading @@ -317,11 +317,12 @@ declare function max.util:getProjectLayoutTemplate($projectId) { return if(file:exists($customTemplate)) then $customTemplate else if (doc($max.config:CONFIGURATION_FILE)//edition[@xml:id=$projectId]/template) then file:parent(file:parent(static-base-uri())) || "editions/" || doc($max.config:CONFIGURATION_FILE)//edition[@xml:id=$projectId]/template/@file else "../ui/templates/"||max.config:getXMLFormat($projectId) ||".html" }; (: Returns project's default XSLT to apply on text :) Loading Loading
rxq/util.xqm +2 −1 Original line number Diff line number Diff line Loading @@ -317,11 +317,12 @@ declare function max.util:getProjectLayoutTemplate($projectId) { return if(file:exists($customTemplate)) then $customTemplate else if (doc($max.config:CONFIGURATION_FILE)//edition[@xml:id=$projectId]/template) then file:parent(file:parent(static-base-uri())) || "editions/" || doc($max.config:CONFIGURATION_FILE)//edition[@xml:id=$projectId]/template/@file else "../ui/templates/"||max.config:getXMLFormat($projectId) ||".html" }; (: Returns project's default XSLT to apply on text :) Loading