TEI P4 Beta: Reference Documentation

`<table>` | contains text displayed in tabular form, in rows and columns.
Attributes: |
`rows` | indicates the number of rows in the table.
| Datatype: NUMBER
| 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: NUMBER
| 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)
    <row role=label>
      <cell></>
      <cell>Dossing Cribs or Lodging Houses</>
      <cell>Beds</>
      <cell>Needys or Nightly Lodgers</></row>
    <row role=data>
      <cell role=label>Bury St Edmund's</>
      <cell>5</><cell>8</><cell>128</></row>
    <row role=data>
      <cell role=label>Thetford</>
      <cell>3</><cell>6</><cell>36</></row>
    <row role=data>
      <cell role=label>Attleboro'</>
      <cell>3</><cell>5</><cell>20</></row>
    <row role=data>
      <cell role=label>Wymondham</>
      <cell>1</><cell>11</><cell>22</></row>
    <!-- ... -->
    </table>

Note

Any rendition information should be supplied using the global `rend` attribute, at the table, row, or cell level as appropriate.

Tagset base tag set for formulae
Class inter
Filename `teifig2`
Content: Contains an optional heading and a series of rows.
Parents ab add admin camera caption case cell colloc corr country damage def desc descrip docEdition emph equiv etym fDescr figDesc foreign form fsDescr 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 set sic sound stage stress subc supplied syll tagUsage tech title titlePart tns tr trans unclear usg view wit witDetail witness writing xr xref
Children head row
Declaration

    <!ELEMENT table         - -  (head*, row+)                      >
    <!ATTLIST table              %a.global
              rows               NUMBER              #IMPLIED
              cols               NUMBER              #IMPLIED       >

See 22.1.1

Back to index