]> granicus.if.org Git - docbook-dsssl/commitdiff
table footnotes now have their own table.footnote.properties attribute set.
authorBob Stayton <bobs@sagehill.net>
Mon, 8 May 2006 01:53:39 +0000 (01:53 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 8 May 2006 01:53:39 +0000 (01:53 +0000)
xsl/fo/footnote.xsl

index 7d33c2334ebddf7f368fa50f90b374e1aab0ea58..7ecd41e719c45f8f3cced2653d5e8974a80d82db 100644 (file)
   </fo:block>
 </xsl:template>
 
-<xsl:template match="footnote" name="process.footnote" mode="table.footnote.mode">
+<xsl:template match="footnote" mode="table.footnote.mode">
   <xsl:choose>
     <xsl:when test="local-name(*[1]) = 'para' or local-name(*[1]) = 'simpara'">
-      <fo:block xsl:use-attribute-sets="footnote.properties">
+      <fo:block xsl:use-attribute-sets="table.footnote.properties">
         <xsl:apply-templates/>
       </fo:block>
     </xsl:when>
 
     <xsl:when test="function-available('exsl:node-set')">
-      <fo:block xsl:use-attribute-sets="footnote.properties">
+      <fo:block xsl:use-attribute-sets="table.footnote.properties">
         <xsl:apply-templates select="*[1]" mode="footnote.body.number"/>
         <xsl:apply-templates select="*[position() &gt; 1]"/>
       </fo:block>
         <xsl:value-of select="local-name(*[1])"/>
         <xsl:text> unexpected as first child of footnote.</xsl:text>
       </xsl:message>
-      <fo:block xsl:use-attribute-sets="footnote.properties">
+      <fo:block xsl:use-attribute-sets="table.footnote.properties">
         <xsl:apply-templates/>
       </fo:block>
     </xsl:otherwise>