Loading rxq/util.xqm +3 −9 Original line number Diff line number Diff line Loading @@ -266,14 +266,8 @@ declare function max.util:getProjectMenuXSL($projectId) { declare function max.util:getProjectTOCXSL($projectId) { let $xmlFormat:=max.config:getXMLFormat($projectId) let $xsltFile := max.util:getResourceFilePath($projectId, "ui/xsl/"|| $max.cons:TOC_XSL_FILENAME) return if(file:exists($xsltFile)) then $xsltFile else let $formatXslt := max.util:getResourceFilePath($projectId, "/ui/xsl/"|| $xmlFormat || "/" || $max.cons:TOC_XSL_FILENAME) return if(file:exists($formatXslt)) then $formatXslt else max.util:getResourceFilePath($projectId, "/ui/xsl/core/" || $max.cons:TOC_XSL_FILENAME) let $targetFile := max.util:getResourceFilePath($projectId, "ui/xsl/core/"|| $max.cons:TOC_XSL_FILENAME) return if(file:exists($targetFile)) then $targetFile else () }; (: Loading ui/xsl/tei/toc.xsldeleted 100644 → 0 +0 −10 Original line number Diff line number Diff line <!-- For conditions of distribution and use, see the accompanying legal.txt file. --> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:import href="./document_title.xsl"/> <xsl:import href="../core/toc.xsl"/> </xsl:stylesheet> No newline at end of file Loading
rxq/util.xqm +3 −9 Original line number Diff line number Diff line Loading @@ -266,14 +266,8 @@ declare function max.util:getProjectMenuXSL($projectId) { declare function max.util:getProjectTOCXSL($projectId) { let $xmlFormat:=max.config:getXMLFormat($projectId) let $xsltFile := max.util:getResourceFilePath($projectId, "ui/xsl/"|| $max.cons:TOC_XSL_FILENAME) return if(file:exists($xsltFile)) then $xsltFile else let $formatXslt := max.util:getResourceFilePath($projectId, "/ui/xsl/"|| $xmlFormat || "/" || $max.cons:TOC_XSL_FILENAME) return if(file:exists($formatXslt)) then $formatXslt else max.util:getResourceFilePath($projectId, "/ui/xsl/core/" || $max.cons:TOC_XSL_FILENAME) let $targetFile := max.util:getResourceFilePath($projectId, "ui/xsl/core/"|| $max.cons:TOC_XSL_FILENAME) return if(file:exists($targetFile)) then $targetFile else () }; (: Loading
ui/xsl/tei/toc.xsldeleted 100644 → 0 +0 −10 Original line number Diff line number Diff line <!-- For conditions of distribution and use, see the accompanying legal.txt file. --> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:import href="./document_title.xsl"/> <xsl:import href="../core/toc.xsl"/> </xsl:stylesheet> No newline at end of file