<table>

<table> 以表格形式呈現、包含在直行橫列中的文字內容。 [14.1.1 TEI Tables]
組件figures — 14 Tables, Formulæ, Graphics and Notated Music
屬性att.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
rows指出表格中的列數。
狀態 非必備的
資料類型

<rng:ref name="data.count"/>
data.count
If no number is supplied, an application must calculate the number of rows.
cols (columns) 指出表格中每一列所包含的行數。
狀態 非必備的
資料類型

<rng:ref name="data.count"/>
data.count
If no number is supplied, an application must calculate the number of columns.
屬於
可包含在於
可包含
宣告

<rng:element name="table">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.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:choice>
   <rng:oneOrMore>
    <rng:ref name="row"/>
    <rng:zeroOrMore>
     <rng:ref name="model.global"/>
    </rng:zeroOrMore>
   </rng:oneOrMore>
   <rng:oneOrMore>
    <rng:group>
     <rng:ref name="model.graphicLike"/>
    </rng:group>
    <rng:zeroOrMore>
     <rng:ref name="model.global"/>
    </rng:zeroOrMore>
   </rng:oneOrMore>
  </rng:choice>
 </rng:group>
</rng:element>
element table
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute rows { data.count }?,
   attribute cols { data.count }?,
   (
      ( model.headLike | model.global )*,
      ( ( row, model.global* )+ | ( ( model.graphicLike ), model.global* )+ )
   )
}
例子
<table rows="4" cols="4">
 <head>台北飯店提供住房數目(2008年雙十國慶 )</head>
 <row role="label">
  <cell role="data"/>
  <cell role="data">經濟客房</cell>
  <cell role="data">標準客房</cell>
  <cell role="data">高級客房</cell>
 </row>
 <row role="data">
  <cell role="label">圓山大飯店</cell>
  <cell role="data">203</cell>
  <cell role="data">168</cell>
  <cell role="data">66</cell>
 </row>
 <row role="data">
  <cell role="label">凱撒大飯店</cell>
  <cell role="data">216</cell>
  <cell role="data">140</cell>
  <cell role="data">32</cell>
 </row>
 <row role="data">
  <cell role="label">喜來登大飯店</cell>
  <cell role="data">197</cell>
  <cell role="data">160</cell>
  <cell role="data">50</cell>
 </row>
 <row role="data">
  <cell role="label">君悅大飯店</cell>
  <cell role="data">177</cell>
  <cell role="data">130</cell>
  <cell role="data">22</cell>
 </row>
</table>