◇◆
<table> Table (NISO JATS table model)
The rows and columns part of a full table. (This element is based on and intended
to be converted easily to the XHTML table element.)
Usage/Remarks
By default, the NISO JATS table model (based on and designed to be converted easily
to the XHTML 1.1 table model) should be used as defined in the XHTML 1.1 table model,
to take advantage of existing software for table handling.
This element contains only the rows and columns of the table, which is typically just part of what would be
called a “table” in print or display. A full table might also include a table number
(label), a table title, a table caption, table notes and footnotes, introductory paragraphs,
etc., so a full table is tagged using the <table-wrap> element. If the complex table contains rows and columns, <table-wrap> will contain a <table> as well as other content.
XHTML Table Note
The standard XHTML model has been modified to remove the <caption> element from within the <table> element, because, in the modular JATS DTD Suite, the <caption> element has been made part of the <table-wrap> element.
OASIS CALS Table Note
The OASIS modules for the
OASIS XML Exchange table model (based on the CALS table model) have been included
in the
distribution of the NISO JATS Suite and may be used to provide an alternative table
model. Each JATS user-organization can choose to use the default XHTML table
model, to include two different table
models in their JATS-based DTD, or to use just the OASIS
model. A Tag Set using just the XHTML model (JATS-archivearticle1-3d2.dtd) and a Tag Set using
both models (JATS-archive-oasis-article1-3d2.dtd) have been provided and use a
pseudo-namespace with a fixed prefix to differentiate any name clashes. The XHTML-based
table model
is taken as primary (no namespace prefix) and the OASIS Exchange CALS model set up
to use a pseudo-namespace (prefix “oasis”) with an xmlns #FIXED attribute. A separate Tag Library describing the OASIS table model elements, attributes,
and parameter entities may be accessed at: https://jats.nlm.nih.gov/options/OASIS/tag-library/19990315/index.html
Organizations that choose to use the OASIS model instead of
the more XHTML-like NISO JATS table model, will need to customize their DTDs.
The JATS DTD Suite makes the following changes in the OASIS table model:
- The %titles; parameter entity for the OASIS table model has been set to the null string (""), since the table title <title> is also part of the <table-wrap>; and
- The OASIS pseudo-namespace with a prefix of “oasis” has been added to each element.
Attributes
Models and Context
May be contained in
Description
The following, in order:
- Any one of:
- <col> Table Column (NISO JATS table model), zero or more
- <colgroup> Table Column Group (NISO JATS table model), zero or more
- Any one of:
- The following, in order:
- <thead> Table Header (NISO JATS table model), zero or one
- <tfoot> Table Footer (NISO JATS table model), zero or one
- <tbody> Table Body (NISO JATS table model), one or more
- <tr> Table Row (NISO JATS table model), one or more
- The following, in order:
Expanded Content Model
((col* | colgroup*), ((thead?, tfoot?, tbody+) | (tr+)))
Tagged Samples
XHTML-style with empty cells
...
<table-wrap id="TN0.170">
<caption>
<title>Patient Care at End of Follow Up</title>
<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 frame="box" rules="all" cellpadding="5">
<tbody>
<tr>
<th></th>
<th colspan="3" align="center" rowspan="1">Institutional care</th>
<th></th>
<th colspan="2" align="center" rowspan="1"> 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% 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-group>
<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>
</fn-group>
</table-wrap-foot>
</table-wrap>
...
Graphics in cells
...
<table-wrap id="t14">
...
<table frame="box" rules="all" cellpadding="5">
...
<tr valign="bottom">
<td align="left" colspan="1" rowspan="1">3</td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4411</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g14" orientation="portrait" position="anchor" xlink:href="d14"/></td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4411</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g15" orientation="portrait" position="anchor" xlink:href="d15"/></td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4414</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g16" orientation="portrait" position="anchor" xlink:href="d16"/></td>
<td align="char" char="." charoff="35%" colspan="1" rowspan="1">14.4414</td>
<td align="center" colspan="1" rowspan="1">
<graphic id="g17" orientation="portrait" position="anchor" xlink:href="d17"/></td>
</tr>
</table>
</table-wrap>
...
Related Resource
- For a discussion on table formatting, see Table Formatting. For a discussion on the use of <table>s inside <table-wrap> and for related groups of tables, see Table, Table Wrapper, and Table Group.
- For additional information concerning Accessibility (specifically, the @scope and @headers attributes), see Accessibility: Table Headers.
- See: Hierarchy diagram - Table Wrapper