2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:fo="http://www.w3.org/1999/XSL/Format"
4 xmlns:d="http://docbook.org/ns/docbook"
7 <xsl:template name="footer.content">
8 <xsl:param name="pageclass" select="''"/>
9 <xsl:param name="sequence" select="''"/>
10 <xsl:param name="position" select="''"/>
11 <xsl:param name="gentext-key" select="''"/>
15 <xsl:value-of select="$pageclass"/>
16 <xsl:text>, </xsl:text>
17 <xsl:value-of select="$sequence"/>
18 <xsl:text>, </xsl:text>
19 <xsl:value-of select="$position"/>
20 <xsl:text>, </xsl:text>
21 <xsl:value-of select="$gentext-key"/>
26 <!-- pageclass can be front, body, back -->
27 <!-- sequence can be odd, even, first, blank -->
28 <!-- position can be left, center, right -->
30 <xsl:when test="$pageclass = 'titlepage'">
31 <!-- nop; no footer on title pages -->
34 <xsl:when test="$position='right'">
38 <xsl:when test="$position='left'">
39 <fo:block font-size="10">
40 <xsl:value-of select="//legalnotice"/>