This template replaces the stock footer.navigation template from html/chunk-common.xsl. It takes the same three parameters as the ones passed to Section 6.3.1, “The header.navigation template”. It has the same two internal variables: home, the article node of the document; and up, the parent node.
<xsl:template name="footer.navigation"> <xsl:param name="prev" select="/foo"/> <xsl:param name="next" select="/foo"/> <xsl:param name="nav.context"/> <xsl:variable name="home" select="/*[1]"/> <xsl:variable name="up" select="parent::*"/> |
First we output a horizontal rule to set off the page body from the footer content.
<hr/> |
The content of the footer is enclosed in a div element, with class="navfooter" so that we can apply a CSS rule to just this div.
<div class="navfooter"> |
The standard TCC page-bottom links are output by a separate template; see Section 6.3.4, “The tcc.bot.links template”.
<xsl:call-template name="tcc.bot.links">
<xsl:with-param name="prev" select="$prev"/>
<xsl:with-param name="next" select="$next"/>
<xsl:with-param name="home" select="$home"/>
</xsl:call-template>
|
The colophon, or author credit information, is output by yet another template; see Section 6.3.5, “The tcc.colophon template”.
<xsl:call-template name="tcc.colophon">
<xsl:with-param name="home" select="$home"/>
</xsl:call-template>
</div>
</xsl:template>
|