Commit 62f5097d authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

modification du chemin de surcharge pour la toc d'une édition.156

parent 776a7fd7
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -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 ()
};

(:

ui/xsl/tei/toc.xsl

deleted100644 → 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