From: <bob...@us...> - 2009-12-02 07:40:30
|
Revision: 8546 http://docbook.svn.sourceforge.net/docbook/?rev=8546&view=rev Author: bobstayton Date: 2009-12-02 07:40:21 +0000 (Wed, 02 Dec 2009) Log Message: ----------- Fix bug 2825842 where table footnotes not appearing in HTML-coded table. Modified Paths: -------------- trunk/xsl/html/formal.xsl Modified: trunk/xsl/html/formal.xsl =================================================================== --- trunk/xsl/html/formal.xsl 2009-12-02 07:22:10 UTC (rev 8545) +++ trunk/xsl/html/formal.xsl 2009-12-02 07:40:21 UTC (rev 8546) @@ -142,7 +142,7 @@ <xsl:param name="class" select="local-name(.)"/> <xsl:choose> - <xsl:when test="title"> + <xsl:when test="title or info/title"> <xsl:call-template name="formal.object"> <xsl:with-param name="placement" select="$placement"/> <xsl:with-param name="class" select="$class"/> @@ -244,6 +244,16 @@ </xsl:if> <xsl:apply-templates mode="htmlTable"/> + + <xsl:if test=".//footnote|../title//footnote"> + <tbody class="footnotes"> + <tr> + <td colspan="50"> + <xsl:apply-templates select=".//footnote|../title//footnote" mode="table.footnote.mode"/> + </td> + </tr> + </tbody> + </xsl:if> </xsl:template> <xsl:template match="example"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |