<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.
Attributes
Content Model
<!ELEMENT %table.qname; %table.content; >
Expanded Content Model
((col* | colgroup*), ((thead?, tfoot?, tbody+) | (tr+)))
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:
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>
...