From: Bob Stayton <bobs@sagehill.net>
Date: Mon, 8 May 2006 01:53:39 +0000 (+0000)
Subject: table footnotes now have their own table.footnote.properties attribute set.
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=297a4caf9fdb7306a6b3791b8743d7b51ebc9985;p=docbook-dsssl

table footnotes now have their own table.footnote.properties attribute set.
---

diff --git a/xsl/fo/footnote.xsl b/xsl/fo/footnote.xsl
index 7d33c2334..7ecd41e71 100644
--- a/xsl/fo/footnote.xsl
+++ b/xsl/fo/footnote.xsl
@@ -154,16 +154,16 @@
   </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>
@@ -176,7 +176,7 @@
         <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>