<table>

Table (XHTML table model)

The rows and columns part of a full table. The standard XHTML table model has been used to take advantage of existing software for table handling. For more complete information on this table model, see the documentation for the XHTML table model.

Note: 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.)

Remarks

Avoid XML-tagged Tables. The XHTML table model is included in this DTD because tagged tables have been delivered from vendors. Unless table tagging is provided, APA journal articles should not use XML-tagged tables; tables should be tagged with both a <graphic> and a <search-text>.

Modifications to XHTML Tables. The standard XHMTL model has been modified to remove the <caption> element from within the <table> element, because, in this DTD, the <caption> element has been made part of the <table-wrap> element.

Paragraphs in Table Cells. Within the rare XML-tagged tables, the <p> elements will not be allowed inside table cells, line breaks can be made using the <break> element.

Attributes

border Border (Frame) around a Table (XHTML table model)
cellpadding Cell Padding (XHTML table model)
cellspacing Cell Spacing (XHTML table model)
content-type Type of Content
frame Frame (XHTML table model)
id Identifier
rules Rules (XHTML table model)
style Style (XHTML table model; MathML 2.0 Tag Set)
summary Summary (XHTML table model)
width Width (XHTML table model; MathML 2.0 Tag Set)

Related Elements

The <table> element is an element defined by a public table model such as the XHTML 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. A full table may or may not include a <table> element within it, since other constructions, such as 2-part lists, may also be given table titles, captions, etc.

Expanded Content Model

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

Description

The following, in order:

This element may be contained in:

<alternatives>, <table-wrap>

Example

...
<floats-group>
<table-wrap>
...
<graphic copyright="inherit" id="tb3a"
xlink:href="jpa_14_2_160_tb3a.tif" />
<table>
<thead align="left">
<tr>
<th colspan="1" rowspan="1"></th>
<th colspan="5" align="center" rowspan="1">Variables</th>
</tr>
...
</thead>
<tbody>
<tr>
<td colspan="1" rowspan="1">p<sub location="post" arrange="stack">1</sub></td>
<td colspan="1" rowspan="1">a<sub location="post" arrange="stack">11</sub></td>
<td colspan="1" rowspan="1">a<sub location="post" arrange="stack">12</sub></td>
<td colspan="1" rowspan="1">...</td>
<td colspan="1" rowspan="1">...</td>
<td colspan="1" rowspan="1">a<sub location="post" arrange="stack">1n</sub></td>
</tr>
...
</tbody>
</table>
</table-wrap>
</floats-group>
...

Module

xhtml-table-1.mod