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

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.

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 name space 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.

The NISO JATS DTD Suite makes the following changes in the OASIS table model:

Attributes

border Border (Frame) around a Table (NISO JATS table model)
cellpadding Cell Padding (NISO JATS table model)
cellspacing Cell Spacing (NISO JATS table model)
content-type Type of Content
frame Frame (NISO JATS table model)
id Document Internal Identifier
rules Rules (NISO JATS table model)
style Style (NISO JATS table model; MathML Tag Set)
summary Summary (NISO JATS table model)
width Width (NISO JATS table model; MathML Tag Set)
xml:base Base

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

Content Model

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

Expanded Content Model

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

Description

The following, in order:

This element may be contained in:

<alternatives>, <table-wrap>

Example 1


... 
<table> 
...
<tr valign="bottom">
<td align="left" colspan="1" rowspan="1">3</td>
<td align="char" char="." 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="." 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="." 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="." 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>
...

Example 2

    
...
<table-wrap id="bid.269">
<label>1</label>
<caption>
<title>Files on the taxonomy FTP site.</title>
</caption>
<table>
<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>
...