Loading xsl/jats/jats2html.xsl +21 −0 Changes for xsl/jats/jats2html.xsl: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -152,11 +152,32 @@ <div id="toc" class="content-tab"> <div id="toc-contents"> <ol> <xsl:choose> <xsl:when test="../body/sec[contains(@id,'review')]"> <xsl:for-each select="../body/sec[contains(@id,'review')]"> <li class="section1"> <a role="button"> <xsl:attribute name="href"> <xsl:value-of select="concat('#', @xml:id)"/> </xsl:attribute> <xsl:for-each select=".//p[@content-type='bibl-cr']"> <xsl:apply-templates select="node()"/> <xsl:if test="position() != last()"> <xsl:text>. </xsl:text> </xsl:if> </xsl:for-each> </a> </li> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:for-each select="../body/sec | ../back/app-group"> <xsl:call-template name="sec-toc-item"> <xsl:with-param name="item" select="."/> </xsl:call-template> </xsl:for-each> </xsl:otherwise> </xsl:choose> </ol> </div> Loading xsl/tei/03-tei2html_core.xsl +6 −1 Changes for xsl/tei/03-tei2html_core.xsl: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -145,7 +145,12 @@ <xsl:attribute name="href"> <xsl:value-of select="concat('#', @xml:id)"/> </xsl:attribute> <xsl:apply-templates select=".//tei:bibl[@type='display']/node()"/> <xsl:for-each select=".//tei:bibl[@type='display']"> <xsl:apply-templates select="node()"/> <xsl:if test="position() != last()"> <xsl:text>. </xsl:text> </xsl:if> </xsl:for-each> </a> </li> </xsl:for-each> Loading Loading
xsl/jats/jats2html.xsl +21 −0 Changes for xsl/jats/jats2html.xsl: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -152,11 +152,32 @@ <div id="toc" class="content-tab"> <div id="toc-contents"> <ol> <xsl:choose> <xsl:when test="../body/sec[contains(@id,'review')]"> <xsl:for-each select="../body/sec[contains(@id,'review')]"> <li class="section1"> <a role="button"> <xsl:attribute name="href"> <xsl:value-of select="concat('#', @xml:id)"/> </xsl:attribute> <xsl:for-each select=".//p[@content-type='bibl-cr']"> <xsl:apply-templates select="node()"/> <xsl:if test="position() != last()"> <xsl:text>. </xsl:text> </xsl:if> </xsl:for-each> </a> </li> </xsl:for-each> </xsl:when> <xsl:otherwise> <xsl:for-each select="../body/sec | ../back/app-group"> <xsl:call-template name="sec-toc-item"> <xsl:with-param name="item" select="."/> </xsl:call-template> </xsl:for-each> </xsl:otherwise> </xsl:choose> </ol> </div> Loading
xsl/tei/03-tei2html_core.xsl +6 −1 Changes for xsl/tei/03-tei2html_core.xsl: 6 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -145,7 +145,12 @@ <xsl:attribute name="href"> <xsl:value-of select="concat('#', @xml:id)"/> </xsl:attribute> <xsl:apply-templates select=".//tei:bibl[@type='display']/node()"/> <xsl:for-each select=".//tei:bibl[@type='display']"> <xsl:apply-templates select="node()"/> <xsl:if test="position() != last()"> <xsl:text>. </xsl:text> </xsl:if> </xsl:for-each> </a> </li> </xsl:for-each> Loading