--- a/poetry_html.xsl Sat Feb 05 13:26:50 2011 -0500
+++ b/poetry_html.xsl Mon Sep 14 11:24:14 2015 -0400
@@ -54,25 +54,25 @@
<ul class="navbar">
<xsl:for-each select="//xref[@linkend=$my-id]">
<li>
- <xsl:variable name="mysection" select="ancestor::section[last()]/@id"/>
- <xsl:for-each select="ancestor::section">
- <xsl:apply-templates select="." mode="xref"/>
- <xsl:if test="descendant::section">
- <xsl:text> : </xsl:text>
- </xsl:if>
- </xsl:for-each>
- <ul>
- <xsl:if test="preceding::xref[1]/ancestor::section[last()]/@id=$mysection">
- <li><xsl:text>Précédent: </xsl:text>
- <xsl:apply-templates select="preceding::xref[1]"/>
- </li>
- </xsl:if>
- <xsl:if test="following::xref[1]/ancestor::section[last()]/@id=$mysection">
- <li><xsl:text>Suivant: </xsl:text>
- <xsl:apply-templates select="following::xref[1]"/>
- </li>
- </xsl:if>
- </ul>
+ <xsl:variable name="mysection" select="ancestor::section[last()]/@id"/>
+ <xsl:for-each select="ancestor::section">
+ <xsl:apply-templates select="." mode="xref"/>
+ <xsl:if test="descendant::section">
+ <xsl:text> : </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ <ul>
+ <xsl:if test="preceding::xref[1]/ancestor::section[last()]/@id=$mysection">
+ <li><xsl:text>Précédent: </xsl:text>
+ <xsl:apply-templates select="preceding::xref[1]"/>
+ </li>
+ </xsl:if>
+ <xsl:if test="following::xref[1]/ancestor::section[last()]/@id=$mysection">
+ <li><xsl:text>Suivant: </xsl:text>
+ <xsl:apply-templates select="following::xref[1]"/>
+ </li>
+ </xsl:if>
+ </ul>
</li>
</xsl:for-each>
</ul>