<table>

<table> 以表格形式呈現、包含在直行橫列中的文字內容。 [14.1.1 TEI Tables]
組件figures — Tables, Formulæ, Graphics and Notated Music
屬性att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp)) (att.global.source (@source)) att.typed (@type, @subtype)
rows指出表格中的列數。
狀態 非必備的
資料類型 teidata.count
cols(columns) 指出表格中每一列所包含的行數。
狀態 非必備的
資料類型 teidata.count
俱乐部会员
可包含在於
可包含
例子
<table rows="4cols="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>
Content model
<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="0maxOccurs="unbounded"/>

   </sequence>
   <sequence minOccurs="1"
    maxOccurs="unbounded">

    <classRef key="model.graphicLike"/>
    <classRef key="model.global"
     minOccurs="0maxOccurs="unbounded"/>

   </sequence>
  </alternate>
  <sequence minOccurs="0"
   maxOccurs="unbounded">

   <classRef key="model.divBottom"/>
   <classRef key="model.global"
    minOccurs="0maxOccurs="unbounded"/>

  </sequence>
 </sequence>
</content>
宣告
<rng:element name="table">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.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:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:optional>
  <rng:attribute name="rows">
   <rng:ref name="teidata.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="cols">
   <rng:ref name="teidata.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:group>
     <rng:ref name="row"/>
     <rng:zeroOrMore>
      <rng:ref name="model.global"/>
     </rng:zeroOrMore>
    </rng:group>
   </rng:oneOrMore>
   <rng:oneOrMore>
    <rng:group>
     <rng:ref name="model.graphicLike"/>
     <rng:zeroOrMore>
      <rng:ref name="model.global"/>
     </rng:zeroOrMore>
    </rng:group>
   </rng:oneOrMore>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:group>
    <rng:ref name="model.divBottom"/>
    <rng:zeroOrMore>
     <rng:ref name="model.global"/>
    </rng:zeroOrMore>
   </rng:group>
  </rng:zeroOrMore>
 </rng:group>
</rng:element>
element table
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.typed.attributes,
   attribute rows { teidata.count }?,
   attribute cols { teidata.count }?,
   (
      ( model.headLike | model.global )*,
      ( ( row, model.global* )+ | ( model.graphicLike, model.global* )+ ),
      ( model.divBottom, model.global* )*
   )
}