<xsl:variable name="html.body.outer.append">
<div id="toc">
<ul class="hidden"/>
- <img src="${staticroot}/doc/contents.png" width="16" height="155"/>
+ <img src="{$staticroot}/doc/contents.png" width="16" height="155"/>
</div>
</xsl:variable>
<!-- Chapter Title -->
<h2 id="{@id}" class="{@class}">
- <a href="{toc_url}">
+ <a href="{this_url}">
<xsl:value-of select="concat('Chapter ',chapter_id,' - ',title)"/>
</a>
</h2>
<!-- Navigation -->
<a class="previous_page" href="{prev_url}"><![CDATA[<-previous]]></a>
- <a class="toc_page" href="{prev_url}"><![CDATA[Table of Contents]]></a>
+ <a class="toc_page" href="{toc_url}"><![CDATA[Table of Contents]]></a>
<xsl:if test="next_url">
<a class="next_page" href="{next_url}"><![CDATA[next->]]></a>
</xsl:if>
</xsl:template>
<!-- Ignore -->
- <xsl:template match="chapter_id|prev_url|next_url|toc_url|canonical_url|current_url|old_versions"/>
+ <xsl:template match="chapter_id|this_url|prev_url|next_url|toc_url|canonical_url|current_url|title_uri|old_versions"/>
</xsl:stylesheet>