Loading ui/xsl/ead/document_toc.xsl +0 −7 Original line number Diff line number Diff line Loading @@ -25,13 +25,6 @@ <xsl:template match="*:dao"/> <xsl:template match="nav"> <nav> <div class="eadHeader"> <xsl:variable name="url" select="(//*:details[1]//*:a[1]/@href)[1]" /> <a href="{substring-before($url,'.xml')||'.xml/info/eadheader.html'}"> <xsl:variable name="i18nKey">menu.meta</xsl:variable> <xsl:value-of select="max:i18n($project,$i18nKey,$locale)"/> </a> </div> <xsl:apply-templates/> </nav> </xsl:template> Loading xq/document_toc_.xq→xq/document_toc.xq +3 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){ { for $c in $target/*:ead/*:archdesc/*:dsc return ( <a href="{$baseURI}{$projectId}/{$docPath}/info/eadheader.html">Description scientifique todo i18n</a>, <details id="details_{$c/ancestor::*:archdesc/@level}" level="archdesc" open=""> <summary> <a href="{$baseURI}{$projectId}/{$docPath}/{$c/ancestor::*:archdesc/@id}.html"> Loading @@ -26,6 +28,7 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){ </summary> {local:childrenToc($c, $projectId, $docPath)} </details> ) } </nav> }; Loading Loading
ui/xsl/ead/document_toc.xsl +0 −7 Original line number Diff line number Diff line Loading @@ -25,13 +25,6 @@ <xsl:template match="*:dao"/> <xsl:template match="nav"> <nav> <div class="eadHeader"> <xsl:variable name="url" select="(//*:details[1]//*:a[1]/@href)[1]" /> <a href="{substring-before($url,'.xml')||'.xml/info/eadheader.html'}"> <xsl:variable name="i18nKey">menu.meta</xsl:variable> <xsl:value-of select="max:i18n($project,$i18nKey,$locale)"/> </a> </div> <xsl:apply-templates/> </nav> </xsl:template> Loading
xq/document_toc_.xq→xq/document_toc.xq +3 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){ { for $c in $target/*:ead/*:archdesc/*:dsc return ( <a href="{$baseURI}{$projectId}/{$docPath}/info/eadheader.html">Description scientifique todo i18n</a>, <details id="details_{$c/ancestor::*:archdesc/@level}" level="archdesc" open=""> <summary> <a href="{$baseURI}{$projectId}/{$docPath}/{$c/ancestor::*:archdesc/@id}.html"> Loading @@ -26,6 +28,7 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){ </summary> {local:childrenToc($c, $projectId, $docPath)} </details> ) } </nav> }; Loading