§
<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, @xml:base, @xml:space) (att.global.rendition (@rend, @rendition)) (att.global.responsibility (@cert, @resp))
| ||||||||||||||||
Member of | |||||||||||||||||
Contained by | |||||||||||||||||
May contain | |||||||||||||||||
Declaration | element table { attribute rows { data.count }?, attribute cols { data.count }?, ( ( model.headLike | model.global )*, ( ( row, model.global* )+ | ( ( model.graphicLike ), model.global* )+ ), ( ( model.divBottom ), model.global* )* ) } | ||||||||||||||||
Schematron | <sch:rule context="tei:table"> <sch:assert test="not(ancestor::tei:list)"> No tables are are allowed inside lists. </sch:assert></sch:rule> | ||||||||||||||||
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 | 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. |