<table>

<table> (table) contains text displayed in tabular form, in rows and columns. [14.1.1. TEI Tables]
Module figures
Attributes Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.typed (type)
rows (rows) indicates the number of rows in the table.
Status Optional
Datatype teidata.count
Note
If no number is supplied, an application must calculate the number of rows.
Rows should be presented from top to bottom.
cols (columns) indicates the number of columns in each row of the table.
Status Optional
Datatype teidata.count
Note
If no number is supplied, an application must calculate the number of columns.
Within each row, columns should be presented left to right.
Member of
Contained by
May contain
Note
Contains an optional heading and a series of rows.
Any rendition information should be supplied using the global rend attribute, at the table, row, or cell level as appropriate.
Examples

<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>
Source Github

<elementSpec module="figures" ident="table">
   
<gloss>table</gloss>
   
<desc>contains text displayed in tabular form, in rows and columns.</desc>
   
<classes>
      
<memberOf key="att.global"/>
      
<memberOf key="model.listLike"/>
      
<memberOf key="att.typed"/>
   
</classes>
   
<content>
      
<sequence>
         
<alternate minOccurs="0" maxOccurs="unbounded">
            
<classRef key="model.headLike"/>
            
<classRef key="model.global"/>
         
</alternate>
         
<alternate>
            
<sequence minOccurs="1" maxOccurs="unbounded">
               
<elementRef key="row"/>
               
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
            
</sequence>
            
<sequence minOccurs="1" maxOccurs="unbounded">
               
<classRef key="model.graphicLike"/>
               
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
            
</sequence>
         
</alternate>
         
<sequence minOccurs="0" maxOccurs="unbounded">
            
<classRef key="model.divBottom"/>
            
<classRef key="model.global" minOccurs="0" maxOccurs="unbounded"/>
         
</sequence>
      
</sequence>
   
</content>
   
<attList>
      
<attDef ident="rows" usage="opt">
         
<gloss>rows</gloss>
         
<desc>indicates the number of rows in the table.</desc>
         
<datatype>
            
<dataRef key="teidata.count"/>
         
</datatype>
      
</attDef>
      
<attDef ident="cols" usage="opt">
         
<gloss>columns</gloss>
         
<desc>indicates the number of columns in each row of the table.</desc>
         
<datatype>
            
<dataRef key="teidata.count"/>
         
</datatype>
      
</attDef>
   
</attList>
</elementSpec>