<table-wrap>

Table Wrapper

Definition

Used to hold a complete table, that is, not only the rows and columns that make up a table, but also the table’s caption or title, list of table footnotes, alternative descriptions of the table for purposes of accessibility, etc.

This element has also been designed to capture a construct named “table” that contains just a graphic or a list, rather than the explicit rows and columns of a table element such as the XHTML <table> because many publishers associate table captions and numbers with material that is not explicitly tabular.

Remarks

Within the <table-wrap> element, the row and column tags that describe the table cells are defined by the XHTML table model.

Conversion Note: Many journal DTDs use an element called “Table Footnote” (with a tag such as <tblfn>) for footnotes inside a table. This DTD uses <fn> inside tables, as well as everywhere else, relying instead on context to differentiate table footnotes. Footnotes inside a <table-wrap> are assumed to be footnotes to the table and, as part of the table, are displayed at the bottom of the table, usually as part of the <table-wrap-foot>, rather than at the bottom of the page or otherwise separated from the display of the table.

The position attribute may be used to indicate whether a <table-wrap> must be anchored at its exact location within the text or whether it may float, for example, to the top of the next page, into the next column, to the end of a logical file, or within a separate window.

Attributes

content-type Type of Content
id Identifier
position Position
xml:lang Language

Related Elements

The <table> element is an element defined by the public XHTML table model. This element is not, in itself, a full table, but only the rows and columns portions of a table. A full table may have other features, such as a title, caption, table footnotes, etc. The <table-wrap> element contains the full table, that is, both rows and columns as well as captions and footers. A full table (<table-wrap>) may or may not include an actual <table> element within it, because other constructions, such as 2-part lists, may also be given table titles, captions, etc.

XHTML Table Processing Note: The standard XHMTL model has been modified to remove the <caption> element from within the <table> element, because, in the base DTD Suite, the <caption> element has been made part of the <table-wrap> element.

Model Information

Content Model

<!ELEMENT  table-wrap   %table-wrap-model;                           >

Description

The following, in order:

This element may be contained in:

<app> Appendix; <app-group> Appendix Matter; <body> Body of the Article; <boxed-text> Boxed Text; <disp-quote> Quote, Displayed; <fig> Figure; <gloss-group> Glossary Group; <glossary> Glossary Elements List; <named-content> Named Special (Subject) Content; <notes> Notes; <p> Paragraph; <ref-list> Reference List (Bibliographic Reference List); <sec> Section; <supplementary-material> Supplementary Material; <table-wrap-group> Table Wrapper Group

Tagged Example


...
<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>
<tbody>
<tr>
<th></th>
<th colspan="3" align="center" 
rowspan="1">Institutional care</th>
<th></th>
<th colspan="2" align="center" 
rowspan="1">&#x2003;Bed use (days)</th>
</tr>
<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&#x0025; CI)</th>
<th></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">&#x2002;19/227</td>
<td align="center">1.61 (0.30 to 8.55)</td>
<td></td>
<td align="center">&#x2002;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">&#x2002;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&#x003C;0.05 (random effects
model).</p>
</fn>
</table-wrap-foot>
</table-wrap>
...


Module

display.ent