Table Wrapper

Wrapper element for a complete table, including the tabular material (rows and columns), caption (including title), footnotes, and alternative descriptions of the table for purposes of accessibility.


Table Content: This element has been designed to capture a construct named “table”, whether that structure contains an explicit <table> element or contains non-tabular structures such as graphics, lists, or paragraphs. Many publishers associate table captions and table numbers with material that is not explicitly tabular. Within the <table-wrap> element, row and column tags that describe the table cells should be defined by either the <table> element of the NISO JATS table model (based on and designed to be converted easily to the XHTML 1.1 table model) or, less typically, by the OASIS XML Exchange (CALS) table model.

Related Essay: For a discussion on the use of <table-wrap>, see Table, Table Wrapper, and Table Group.

Design Note: Many journal Tag Sets use an element called “Table Footnote” (with a tag such as <tblfn>) for footnotes inside a table. This Tag Set 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.

Position: 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.

NISO JATS Table Processing Note: In building the NISO JATS table model from the XHTML model, the <caption> element was removed from within the <table> element, because, in the NISO JATS Tag Suite, the <caption> element has been made part of the <table-wrap> element.


content-type Type of Content
id Identifier
orientation Orientation
position Position
specific-use Specific Use
xml:lang Language

Related Elements

The <table> element is an element defined by the NISO JATS table model, which is based on and designed to be converted easily to the XHTML 1.1 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, since other constructions, such as 2-part lists, may also be given table titles, captions, etc.

OASIS CALS Table Note: The OASIS XML Exchange (CALS) table model has also been included in the NISO JATS Suite and may be used as an alternative table model. It is even possible, though not easy, to include two different table models in a JATS-based DTD, by using pseudo-namespaces with a fixed prefix to differentiate any name clashes. The XHTML-based table model is usually taken as primary (no name space prefix) and the OASIS XML Exchange (CALS) table model set up to use pseudo-namespaces (prefix “oasis”) with an xmlns #FIXED attribute. For organizations that choose to use the OASIS table model instead of the more XHTML-like NISO JATS table model, a version of the Archiving DTD has been provided with the OASIS table model (JATS-archive-oasis-article1.dtd). A separate Tag Library describing the OASIS table model elements, attributes, and parameter entities may be accessed at jats.nlm.nih.gov/options/OASIS/tag-library/19990315/index.html.

Content Model

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

Expanded Content Model

((object-id)*, label?, (caption)?, (alt-text | long-desc | email | ext-link | uri)*, (disp-quote | speech | statement | verse-group | def-list | list | alternatives | chem-struct-wrap | graphic | media | preformat | table)*, (table-wrap-foot | attrib | permissions)*)


The following, in order:

This element may be contained in:

<abstract>, <ack>, <app>, <app-group>, <bio>, <body>, <boxed-text>, <disp-quote>, <fig>, <floats-group>, <glossary>, <license-p>, <named-content>, <notes>, <p>, <ref-list>, <sec>, <styled-content>, <supplementary-material>, <table-wrap-group>, <trans-abstract>


<table-wrap id="TN0.170">
<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>
<th colspan="3" align="center"
rowspan="1">Institutional care</th>
<th colspan="2" align="center"
rowspan="1">&#x2003;Bed use (days)</th>
<td colspan="3"><hr/></td>
<td colspan="2"><hr/></td>
<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 align="center">Day hospital</th>
<th align="center">Control</th>
<td colspan="7"><hr/></td></tr>
<td>Comprehensive care (5 trials)</td>
<td align="center">151/597<xref ref-type="table-fn"
<td align="center">159/584</td>
<td align="center">0.91 (0.70 to 1.19)</td>
<td align="center">20.5</td>
<td align="center">21.4</td></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 align="center">&#x2002;7.7</td>
<td align="center">11.1</td>
<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 align="center">11.2</td>
<td align="center">11.7</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 align="center">15.0</td><td align="center">16.4</td>
<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>