]> granicus.if.org Git - docbook-dsssl/commitdiff
Wrap tbody around table footnotes (so that the HTML table model is not broken)
authorNorman Walsh <ndw@nwalsh.com>
Mon, 16 Jul 2001 21:28:47 +0000 (21:28 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 16 Jul 2001 21:28:47 +0000 (21:28 +0000)
xsl/html/table.xsl

index 627cc19dd4c61e65d003e7910666fee14a864e82..8a5fe554873661bf3882f5deca2544f13b02b7b1 100644 (file)
     <xsl:apply-templates select="tfoot"/>
 
     <xsl:if test=".//footnote">
-      <tr>
-        <td colspan="{@cols}">
-          <xsl:apply-templates select=".//footnote" 
-                               mode="table.footnote.mode"/>
-        </td>
-      </tr>
+      <tbody class="footnotes">
+        <tr>
+          <td colspan="{@cols}">
+            <xsl:apply-templates select=".//footnote" 
+                                 mode="table.footnote.mode"/>
+          </td>
+        </tr>
+      </tbody>
     </xsl:if>
   </table>
 </xsl:template>