</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() > 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>