<table> |
contains text displayed in tabular form, in
rows and columns. |
Attributes |
(In addition to global attributes
and those inherited from inter)
rows |
indicates the number of rows in the table. |
|
Datatype: CDATA |
|
Values: If no number is supplied, an application must calculate the
number of rows. |
|
Default: #IMPLIED |
Note |
Rows should be presented from top to bottom.
|
cols |
indicates the number of columns in each row of the table. |
|
Datatype: CDATA |
|
Values: If no number is supplied, an application must calculate the
number of columns. |
|
Default: #IMPLIED |
Note |
Within each row, columns should be presented left to
right.
|
|
Example |
<table rows="4" cols="4">
<head>Poor Men's Lodgings in Norfolk (Mayhew, 1843)</head>
<row role="label">
<cell role="data"/>
<cell role="data">Dossing Cribs or Lodging Houses</cell>
<cell role="data">Beds</cell>
<cell role="data">Needys or Nightly Lodgers</cell>
</row>
<row role="data">
<cell role="label">Bury St Edmund's</cell>
<cell role="data">5</cell>
<cell role="data">8</cell>
<cell role="data">128</cell>
</row>
<row role="data">
<cell role="label">Thetford</cell>
<cell role="data">3</cell>
<cell role="data">6</cell>
<cell role="data">36</cell>
</row>
<row role="data">
<cell role="label">Attleboro'</cell>
<cell role="data">3</cell>
<cell role="data">5</cell>
<cell role="data">20</cell>
</row>
<row role="data">
<cell role="label">Wymondham</cell>
<cell role="data">1</cell>
<cell role="data">11</cell>
<cell role="data">22</cell>
</row>
<!-- ... -->
</table>
|
Note |
Any rendition information should be supplied using the
global rend attribute, at the table, row, or cell level
as appropriate.
|
Module |
Declared in file teifig2; Additional tag set for figures, tables and formulae: enabled by
TEI.figures
|
Class |
inter
|
Data Description |
Contains an optional heading and a series of
rows. |
May contain |
addSpan alt altGrp anchor cb certainty delSpan fLib fs fsLib fvLib gap head index interp interpGrp join joinGrp lb link linkGrp milestone pb respons row span spanGrp timeline |
May occur within |
ab add admin camera caption case cell colloc corr country damage def descrip dictScrap docEdition emph entryFree etym figDesc foreign form gen gram gramGrp head hi hyph imprimatur item itype l lang lbl lem meeting mood note number orth otherForm p per pos pron q quote rdg ref region rendition row seg sic sound stage stress subc supplied syll tagUsage tech title titlePart tns tr trans unclear usg view wit witDetail witness writing xr xref |
Declaration |
<!ELEMENT table %om.RR; ((head | %m.Incl;)*, (row, (%m.Incl;)*)+)>
<!ATTLIST table
%a.global;
rows CDATA #IMPLIED
cols CDATA #IMPLIED>
|
See further |
22.1.1 The TEI Table DTD |