Use W3C documentation for the XHTML1.1 table model. (http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_tablemodule)
The footer rows and columns that should be defined within a standard XHTML 1.1 table
<tfoot> holds table metadata just as the table header rows do, for those tables that have metadata at both the head and the foot. The footer is defined separately from the body of a table so that table processing software can treat it differently, for example, making the table footer bold or repeating the footer when a table breaks across pages.
(tr)+
<tr> Table Row (XHTML table model), one or more
...
<table-wrap id="TN0.170">
<caption>
<p>Numbers of patients receiving institutional care at the
end of scheduled follow up and use of hospital beds among
those allocated to day hospital or alternative services</p>
</caption>
<table>
<thead>
<tr>
<th colspan="3" align="center"
rowspan="1">Institutional care</th>
<th></th>
<th colspan="2" align="center"
rowspan="1"> Bed use (days)</th>
</tr>
</thead>
<tfoot>
<tr>
<td align="center">Patients</td>
<td align="center">Patients</td>
<td align="center">Odds ratio</td>
<td></td>
<td align="center">Patients</td>
<td align="center">Patients</td>
</tr>
</tfoot>
<tbody>
<tr>
<td colspan="3"><hr/></td>
<td colspan="2"><hr/></td>
</tr>
<tr>
<th>Control group</th>
<th align="center">Day hospital</th>
<th align="center">Control</th>
<th align="center">Odds ratio (95% CI)</th>
<th></th>
<th align="center">Day hospital</th>
<th align="center">Control</th>
</tr>
<tr>
<td colspan="7"><hr/></td>
</tr>
<tr>
<td>Comprehensive care (5 trials)</td>
<td align="center">151/597<xref ref-type="table-fn"
rid="TF1-150"></xref></td>
<td align="center">159/584</td>
<td align="center">0.91 (0.70 to 1.19)</td>
<td></td>
<td align="center">20.5</td>
<td align="center">21.4</td>
</tr>
<tr>
<td>Domiciliary care (4 trials)</td>
<td align="center">20/216</td>
<td align="center"> 19/227</td>
<td align="center">1.61 (0.30 to 8.55)</td>
<td></td>
<td align="center"> 7.7</td>
<td align="center">11.1</td>
</tr>
<tr>
<td>No comprehensive care (3 trials)</td>
<td align="center">37/411</td>
<td align="center"> 66/403</td>
<td align="center">0.50<xref ref-type="table-fn"
rid="TF1-151"></xref>
(0.26 to 0.96)</td>
<td></td>
<td align="center">11.2</td>
<td align="center">11.7</td>
</tr>
<tr>
<td>Total</td>
<td align="center">208/1224</td>
<td align="center">244/1214</td>
<td align="center">0.77 (0.52 to 1.13)</td>
<td></td>
<td align="center">15.0</td>
<td align="center">16.4</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="TF1-150">
<p>Data not available for 1 trial.</p>
</fn>
<fn id="TF1-151"><p>P<0.05 (random effects
model).</p>
</fn>
</table-wrap-foot>
</table-wrap>
...
JATS-xhtml-table-1.mod