<table>

<table> contiene testo visualizzato in forma di tabella, in righe e colonne. 14.1.1 TEI Tables
Modulofigures — 14 Tables, Formulæ, and Graphics
Attributi
rowsindica il numero di righe della tabella.
Stato Opzionale
Tipo di dati

<rng:ref name="data.count"/>
data.count
Valori If no number is supplied, an application must calculate the number of rows.
cols (colonne) indica il numero di colonne in ciascuna riga della tabella-
Stato Opzionale
Tipo di dati

<rng:ref name="data.count"/>
data.count
Valori If no number is supplied, an application must calculate the number of columns.
Usato da
Può contenere
Dichiarazione

<rng:element name="table">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="rows">
  <rng:ref name="data.count"/>
 </rng:attribute>
</rng:optional>
<rng:optional>
 <rng:attribute name="cols">
  <rng:ref name="data.count"/>
 </rng:attribute>
</rng:optional>
<rng:group>
 <rng:zeroOrMore>
  <rng:choice>
   <rng:ref name="model.headLike"/>
   <rng:ref name="model.global"/>
  </rng:choice>
 </rng:zeroOrMore>
 <rng:oneOrMore>
  <rng:ref name="row"/>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
 </rng:oneOrMore>
</rng:group>
</rng:element>
element table
{
   att.global.attributes,
   attribute rows { data.count }?,
   attribute cols { data.count }?,
   ( ( model.headLike | model.global )*, ( row, model.global* )+ )
}
Esempio
<table rows="4cols="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>