<array>
Array (Simple Tabular Array)
Used to define a brief tabular arrangement of text in the narrative flow of the document. An array should not be a full table, and does not typically contain a title, caption, or table headings (column heads). Tabular material which does use a label, title, caption, or table headings should be tagged using a table wrapper (<table-wrap>) element.
Remarks
Best Practice Content of an Array: A NISO STS array (<array>), unlike the JATS model from which it was derived, may contain either an XHTML Table Body element (<tbody>) or an XHTML Table element (<table>) to express the rows and columns of the table. NISO STS Best Practice is to prefer <tbody> over <table> for compatibility with JATS articles, so it is easier to combine standards and articles in a single XML database.
Best Practice OASIS Tables: In the NISO STS Extended model, the OASIS XML Exchange (CALS) table model may be used instead of or in addition to the default NISO JATS XHTML-based table model. Best Practice for NISO STS OASIS table users is to use the <oasis:tbody> element, within their arrays instead of using a full OASIS table element (<oasis:table>). 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.
Attributes
Model Description
The following, in order:
- <editing-instruction> Editing Instruction, zero or more
- <label> Label of a Figure, Reference, Etc., zero or one
- Any combination of:
- Accessibility Elements
- External Linking Elements
- Any combination of:
- <alternatives> Alternatives For Processing
- <graphic> Graphic
- <media> Media Object
- <table> Table (NISO JATS table model)
- <oasis:table> OASIS XML Exchange (CALS) Table (In STS Extended ONLY)
- <tbody> Table Body for an XHTML Table
- <oasis:tbody> Table Body for an OASIS XML Exchange (CALS) Table (In STS Extended ONLY)
- Any combination of:
- Ownership Elements
This element may be contained in:
<ack>, <alternatives>, <app>, <app-group>, <bio>, <body>, <boxed-text>, <chem-struct>, <disp-formula>, <disp-quote>, <fig>, <glossary>, <index>, <index-div>, <index-group>, <license-p>, <named-content>, <non-normative-example>, <non-normative-note>, <normative-example>, <normative-note>, <notes>, <p>, <ref-list>, <sec>, <see>, <see-also>, <see-also-entry>, <see-entry>, <styled-content>, <supplementary-material>, <td>, <term>, <term-display>, <term-sec>, <th>
Example 1
An array using the <tbody> element:
...
<p>Visually inspect the fracture surfaces to establish
the nature of the fracture, and assess the type of
fracture as follows:
<array id="tab_g">
<tbody>
<tr>
<td align="left" scope="row" valign="top">A</td>
<td align="left" valign="top">is cohesive failure of
substrate;</td>
</tr>
<tr>
<td align="left" scope="row" valign="top">A/B</td>
<td align="left" valign="top">is adhesive failure
between substrate and first coat;</td>
</tr>
<tr>
<td align="left" scope="row" valign="top">B</td>
<td align="left" valign="top">is cohesive failure
of first coat;</td>
</tr>
...
</tbody>
</array>
</p>
...
Example 2
The same array tagged with the <table> element. (Note: This tagging is retained for historical reasons, but using <tbody> inside <array> is best practice.)
...
<p>Visually inspect the fracture surfaces to establish
the nature of the fracture, and assess the type of
fracture as follows:
<array id="tab_g">
<table rules="groups">
<col width="9.23%"/>
<col width="90.77%"/>
<tbody>
<tr>
<td align="left" scope="row" valign="top">A</td>
<td align="left" valign="top">is cohesive failure of
substrate;</td>
</tr>
<tr>
<td align="left" scope="row" valign="top">A/B</td>
<td align="left" valign="top">is adhesive failure
between substrate and first coat;</td>
</tr>
<tr>
<td align="left" scope="row" valign="top">B</td>
<td align="left" valign="top">is cohesive failure
of first coat;</td>
</tr>
...
</tbody>
</table>
</array>
</p>
...