Tables
Capture each table (graphical or XML) in a table-wrap element.
//table-wrap[@id]
Capture the table-wrap element according to the placement indicator in the manuscript, or (if there is no such indicator) after the paragraph in which it is cited.
A table-wrap element may only be a child of a p element if it is within a list or a footnote.
Give each table-wrap element an id.
Capture the label for a table in a label element, using the format 'Table 1'.
Capture the caption for a table in a caption element.
Capture an empty table header cell in a td element (not th).
Capture the table data in a table element (for an XML-encoded table) or a graphic element (for a graphical table).
Capture multiple tables that are grouped and referenced together in a table-wrap-group element.
Graphical table
<table-wrap id="bty104-t1" orientation="portrait" position="float"> <label>Table 1</label> <caption><p>Major non-genetic risk factors</p></caption> <graphic xlink:href="MDV295TB1.png" mimetype="image"> <alt-text>Alt text goes here</alt-text> </graphic> </table-wrap>
XML-encoded table
<table-wrap id="bty104-t2" orientation="portrait" position="float"> <label>Table 2</label> <caption><p>Major non-genetic risk factors</p></caption> <table frame="hsides" rules="groups"> <colgroup span="1"> <col align="left" span="1"/> <col align="left" span="1"/> <col align="char" char="–" span="1"/> </colgroup> <thead> <tr> <th align="left" colspan="1" rowspan="1">Factor</th> <th align="left" colspan="1" rowspan="1">Relative risk</th> <th align="left" colspan="1" rowspan="1">Attributable fraction</th> </tr> </thead> <tbody> <tr> <td colspan="1" rowspan="1">Tobacco</td> <td colspan="1" rowspan="1">2</td> <td colspan="1" rowspan="1">11%–32%</td> </tr> <tr> <td colspan="1" rowspan="1"><italic>Helicobacter pylori</italic> infection</td> <td colspan="1" rowspan="1">1.5</td> <td colspan="1" rowspan="1">4%–25%</td> </tr> <tr> <td colspan="1" rowspan="1">Non-O-blood group</td> <td colspan="1" rowspan="1">1.4</td> <td colspan="1" rowspan="1">13%–19%</td> </tr> <tr> <td colspan="1" rowspan="1">Diabetes mellitus</td> <td colspan="1" rowspan="1">1.4–2.2</td> <td colspan="1" rowspan="1">1%–16%</td> </tr> </tbody> </table> </table-wrap>
Table with subheading rows
In this example, a table consists of a number of Panels
. The header row of
each panel is a tr element within the tbody,
containing a th element for the subheading.
<table-wrap id="bty104-t3" position="float"> <label>Table 3</label> <caption><p>Tests of differences in premerger versus postmerger MMDA spreads</p></caption> <table> <colgroup span="1"> <col align="left" span="1"/> <col align="center" span="1"/> <col align="center" span="1"/> <col align="center" span="1"/> <col align="center" span="1"/> <col align="center" span="1"/> </colgroup> <thead> <tr> <th colspan="1" rowspan="1">Year-to-merger</th> <th align="center" colspan="2" rowspan="1">−1</th> <th colspan="1" rowspan="1">1</th><th colspan="1" rowspan="1">2</th> <th colspan="1" rowspan="1">3</th></tr><tr><th colspan="1" rowspan="1">Bank type</th> <th colspan="1" rowspan="1">SB</th><th colspan="1" rowspan="1">LMB</th> <th colspan="1" rowspan="1">LMB</th><th colspan="1" rowspan="1">LMB</th> <th colspan="1" rowspan="1">LMB</th> </tr> </thead> <tbody> <tr> <th align="center" colspan="6" rowspan="1">Panel A: LMBs have deposits exceeding $10 billion, SBs have at least 75% of deposits in one market</th> </tr> <tr> <td align="center" colspan="6" rowspan="1">Premerger small bank LMB comparison (forty-eight observations)</td> </tr> <tr> <td colspan="1" rowspan="1">Mean</td> <td colspan="1" rowspan="1">−0.028</td> <td colspan="1" rowspan="1">−0.080</td> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> </tr> <tr> <td colspan="1" rowspan="1"><italic>t</italic>-test (<italic>p</italic>-value) with SB</td> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1">(0.677)</td> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> </tr> ... <tr> <th align="center" colspan="6" rowspan="1">Panel B: LMBs have deposits exceeding $5 billion, SBs have at least 50% of deposits in one market</th> </tr> <tr> <td align="center" colspan="6" rowspan="1">Premerger small bank LMB comparison (seventy-four observations)</td> </tr> <tr> <td colspan="1" rowspan="1">Mean</td> <td colspan="1" rowspan="1">−0.000</td> <td colspan="1" rowspan="1">−0.056</td> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> </tr> <tr> <td colspan="1" rowspan="1"><italic>t</italic>-test (<italic>t</italic>-value) with SB</td> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1">(0.572)</td> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> <td colspan="1" rowspan="1"/> </tr> ... </tbody> </table> </table-wrap>
Multi-column layout (within a book)
Capture book content with the typecode Multi-column
in a
table element with attribute
content-type="multi-column".
Typecode | content-type value |
---|---|
Multi-column |
multi-column
|
<table-wrap id="workid-UKRAI10JL5MB-book-part-3-table-wrap-1"> <table content-type="multi-column"> <colgroup span="1"> <col align="left" span="1"/> <col align="left" span="1"/> <col align="left" span="1"/> </colgroup> <tbody> <tr> <td>01</td> <td>Emm:</td> <td>Bud couldn't e:ven eat his breakfast. He o:rdererd he waited</td> </tr> <tr> <td>02</td> <td/> <td>forty five minutes'n he'a:dtuh be out there to tee off so I</td> </tr> <tr> <td>03</td> <td/> <td>gave it to uh: (.) Karen's: liddle bo:y</td> </tr> <tr> <td>04</td> <td/> <td>(0.7)</td> </tr> <tr> <td>05</td> <td>Emm:</td> <td>((swallow)) I mean that's how bad the service was .hhh (.)</td> </tr> </tbody> </table> </table-wrap>
Linguistic tabular example
Capture book content with the typecode Tabular Linguistics
in a
table element with attribute
content-type="multi-column".
Typecode | content-type value |
---|---|
Tabular Linguistics |
multi-column
|
<table-wrap id="workid-USAC0029927-book-part-3-table-wrap-1"> <label>(2)</label> <table content-type="multi-column"> <colgroup span="1"> <col align="left" span="1"/> <col align="left" span="1"/> <col align="left" span="1"/> <col align="left" span="1"/> <col align="left" span="1"/> </colgroup> <tbody> <tr> <td>wole</td> <td>hoc-o</td> <td>beƛ’e</td> <td>hanq’u-q’ale-l</td> <td>b-iχ<sup>w</sup>ad-o,</td> </tr> <tr> <td>wait</td> <td>leave-<sc>IMP</sc></td> <td>lamb(III)[<sc>SG.ABS</sc>]</td> <td>family-child-<sc>DAT</sc></td> <td>III.<sc>SG</sc>-slaughter-<sc>IMP</sc></td> </tr> </tbody> </table> </table-wrap>
Table with source attribution
Capture the source attribution in an attrib element that is a child of a table-wrap-foot element.
<table-wrap id="workid-UKRAI10JL5MB-book-part-4-table-wrap-16"> <label>Table 4.17</label> <caption> <title>Internal Citations</title> </caption> <table> <colgroup span="1"> <col align="left" span="1"/> <col align="left" span="1"/> </colgroup> <thead> <tr> <th>Focus of Citation</th> <th>Sample Citation</th> </tr> </thead> <tbody> <tr> <td>Conceptual/Idea</td> <td>Physicians and other medical professionals personally use humor as a means of coping with the uncertainty that surrounds the medical profession (Bosk, 1996; Wanzer, Booth-Butterfield, & Booth-Butterfield, 1997).</td> </tr> <tr> <td>Researcher</td> <td>Fitzpatrick (1993) described patient satisfaction as an “emotional link to healthcare.”</td> </tr> <tr> <td>Chronology</td> <td>In 1991, Booth-Butterfield and Booth-Butterfield identified the concept of humor orientation, otherwise referred to as HO.</td> </tr> </tbody> </table> <table-wrap-foot> <attrib>Source: Wrench, et al., <italic>Quantitative Research Methods for Communication.</italic> New York: Oxford University Press, 2019.</attrib> </table-wrap-foot> </table-wrap>