<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 XHMTL table element.)

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 XHMTL 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.
Related Essay: For a discussion on the 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.
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 BITS and may be used to provide an alternative table model. For organizations that choose to use the OASIS model in addition to the more XHTML-like NISO JATS table model, a version of the BITS DTD has been provided with the OASIS XML Exchange table model (BITS-book-oasis1.dtd) as well as the XHTML model. This is possible in a BITS-based DTD by using pseudo-namespaces 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 pseudo-namespaces (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 NISO 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.

Related Elements

The <table> element is an element defined by the NISO JATS table model (based on and designed to be converted easily to the XHTML 1.1 table model) or the OASIS XML Exchange (CALS) table model. The <table> element is not, by itself, a full table, including 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 elements of a full table.
Tagging Note: A full table (<table-wrap>) may or may not include a <table> or an <oasis:table> element within it, since other constructions, such as 2-part lists, may also be given table titles, captions, etc.

Attributes

Content Model

<!ELEMENT %table.qname;  %table.content; >

Expanded Content Model

((col* | colgroup*), ((thead?, tfoot?, tbody+) | (tr+)))

Description

This element may be contained in:

Example 1

Typical JATS XHTML-like table tagging:
    ...
<table-wrap id="bid.269">
<label>1</label>
<caption>
<title>Files on the taxonomy FTP site.</title>
</caption>
<table frame="box" rules="all" cellpadding="5">
<thead>
<tr>
<th align="left" valign="top">File</th>
<th align="left" valign="top">Uncompresses to</th>
<th align="left" valign="top">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">taxdump.tar.Z<xref ref-type="fn"
rid="mul2"><sup><italic>a</italic></sup></xref></td>
<td align="left" valign="top">readme.txt</td>
<td align="left" valign="top">A terse description of the dmp
files</td>
</tr>
<tr>
<td align="left" valign="top"></td>
<td align="left" valign="top">nodes.dmp</td>
<td align="left" valign="top">Structure of the database; lists
each taxid with its parent taxid, rank, and other values
associated with each node (genetic codes, etc.)</td>
</tr>
<tr>...</tr>
...
</tbody>
</table>
<table-wrap-foot>
<fn symbol="a" id="mul2">
<p>For non-UNIX users, the file taxdmp.zip includes the
same (zip compressed) data.</p>
</fn>
</table-wrap-foot>
</table-wrap>
...   

Example 2

Table showing graphics in the table cells:
... 
<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>
...