<list>

<list> (list) 包含以列表方式呈現的任何連續項目。 [3.8 Lists]
組件 core — Elements Available in All TEI Documents
屬性
type⚓︎ (type) describes the nature of the items in the list.
Derived from att.typed
狀態 非必備的
資料類型 teidata.enumerated
被推薦的值包含:
gloss
(gloss) 各列表項目為一些字詞或概念下註解,每個項目之前並帶有標籤元素。
index
(index) each list item is an entry in an index such as the alphabetical topical index at the back of a print volume.
instructions
(instructions) each list item is a step in a sequence of instructions, as in a recipe.
litany
(litany) each list item is one of a sequence of petitions, supplications or invocations, typically in a religious ritual.
syllogism
(syllogism) each list item is part of an argument consisting of two or more propositions and a final conclusion derived from them.
俱乐部会员
可包含在於
可包含

May contain an optional heading followed by a series of items, or a series of label and item pairs, the latter being optionally preceded by one or two specialized headings.

例子
<list rend="numbered">
 <item>一個屠夫</item>
 <item>一個糕點師父</item>
 <item>一個燭台工人<list rend="bulleted">
   <item>手上戴了戒指</item>
   <item>腳趾上有鈴鐺</item>
  </list>
 </item>
</list>
例子
<div1 type="section">
 <head>青年守則</head>
 <list rend="numbered">
  <item n="1">守則一至五條包括八德:<list rend="numbered">
    <item n="1.1">一、忠勇為愛國之本 。</item>
    <item n="1.2">二、服從為負責之本。</item>
    <item n="1.3">三、孝順為齊家之本。</item>
    <item n="1.4">四、勤儉為服務之本。</item>
    <item n="1.5">五、仁愛為接物之本。</item>
   </list>
  </item>
  <item n="2">六至九條意指四維:<list rend="numbered">
    <item n="2.1">六、整潔為強身之本。</item>
    <item n="2.2">七、信義為立業之本。</item>
    <item n="2.3">八、助人為快樂之本。</item>
    <item n="2.4">九、和平為處世之本</item>
   </list>
  </item>
  <item n="3">十至十二條就是三達德:<list rend="numbered">
    <item n="3.1">十、學問為濟世之本。</item>
    <item n="3.2">十一、禮節為治事之本。</item>
    <item n="3.3">十二、有恆為成功之本。</item>
   </list>
  </item>
 </list>
</div1>
例子
<p>我們二人謹定于2008年7月3日正午十二時,在台北舉行結婚典禮,寫下海誓山盟,終身遵守,在婚姻路上,共同經營,災難病情,互相扶持,永不分離。并就下列事項,立下承諾,即令滄海化為桑田,桑田再變為滄海,也要攜手共進,相親相愛,直到白頭。<list rend="simple">
  <item>我們宣誓:從結婚這一天開始,不但成為夫妻,互相敬愛,分擔對方的快樂和憂愁,也同時成為朋友,而且是諍友,互相勉勵,互相規勸,互相批評。</item>
  <item>我們領悟:愉快的共同生活,全靠心靈溝通,所以,我們一定善用言語,不僅表達愛心、關心,也使彼此藉語言加深了解,一起成長。絕不粗聲叱責,絕不用肢體代替言語,絕不允許發生婚姻暴力。 </item>
  <item>我們認知:家庭與事業是夫妻共同經營的果實,夫妻對家庭的貢獻等值,在家庭內或社會上,價值完全相同,社會工作薪俸無論多少,家務工作的薪俸都與其相同。</item>
  <item>我們同意:將來我們有子女,管教上如果有不同的意見,甚至尖銳對立的意見,一定要克制自己,去請教專家,絕不把孩子當成實現自己希望的工具,也絕不用孩子來炫耀自己。 </item>
  <item>我們認為:一夫一妻制,是社會安定的磐石,是孩子們成長最安全的溫床,我們喜愛并尊重這種制度,并用事實和行動,維護它的尊嚴。</item>
  <item>我們警惕:婚姻生活并不多彩多姿,它不但平凡,而且瑣碎,如果不滋養珍惜,容易使生命憔悴,心靈粗俗,所以生活之中,我們一定保持適度的假期,與孩子一起長大。</item>
  <item>我們謹記:我們孝敬自己的父母,也孝敬對方的父母,不僅是回報養育之恩,也是培養自己人格的完整,為我們的下一代立下榜樣。 </item>
  <item>我們了解:我們將來會老,所以,我們從結婚這一天,就培養專業之外的其它藝朮興趣,如書、畫、音樂,使我們生命永遠充實燦爛。 </item>
 </list>
</p>
Schematron

<sch:rule context="tei:list[@type='gloss']">
<sch:assert test="tei:label">The content of a "gloss" list should include a sequence of one or more pairs of a label element followed by an item element</sch:assert>
</sch:rule>
Content model
<content>
 <sequence>
  <alternate minOccurs="0"
   maxOccurs="unbounded">

   <classRef key="model.divTop"/>
   <classRef key="model.global"/>
   <elementRef key="descminOccurs="0"
    maxOccurs="unbounded"/>

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

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

   </sequence>
   <sequence>
    <elementRef key="headLabel"
     minOccurs="0"/>

    <elementRef key="headItem"
     minOccurs="0"/>

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

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

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

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

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

  </sequence>
 </sequence>
</content>
宣告
<rng:element name="list">
 <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.sortable.attributes"/>
 <rng:ref name="att.typed.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:choice>
    <rng:value>gloss</rng:value>
    <rng:value>index</rng:value>
    <rng:value>instructions</rng:value>
    <rng:value>litany</rng:value>
    <rng:value>syllogism</rng:value>
    <rng:ref name="teidata.enumerated"/>
   </rng:choice>
  </rng:attribute>
 </rng:optional>
 <rng:group>
  <rng:zeroOrMore>
   <rng:choice>
    <rng:ref name="model.divTop"/>
    <rng:ref name="model.global"/>
    <rng:zeroOrMore>
     <rng:ref name="desc"/>
    </rng:zeroOrMore>
   </rng:choice>
  </rng:zeroOrMore>
  <rng:choice>
   <rng:oneOrMore>
    <rng:group>
     <rng:ref name="item"/>
     <rng:zeroOrMore>
      <rng:ref name="model.global"/>
     </rng:zeroOrMore>
    </rng:group>
   </rng:oneOrMore>
   <rng:group>
    <rng:optional>
     <rng:ref name="headLabel"/>
    </rng:optional>
    <rng:optional>
     <rng:ref name="headItem"/>
    </rng:optional>
    <rng:oneOrMore>
     <rng:group>
      <rng:ref name="label"/>
      <rng:zeroOrMore>
       <rng:ref name="model.global"/>
      </rng:zeroOrMore>
      <rng:ref name="item"/>
      <rng:zeroOrMore>
       <rng:ref name="model.global"/>
      </rng:zeroOrMore>
     </rng:group>
    </rng:oneOrMore>
   </rng:group>
  </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 list
{
   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.sortable.attributes,
   att.typed.attribute.subtype,
   attribute type
   {
      "gloss"
    | "index"
    | "instructions"
    | "litany"
    | "syllogism"
    | teidata.enumerated
   }?,
   (
      ( model.divTop | model.global | desc* )*,
      (
         ( item, model.global* )+
       | (
            headLabel?,
            headItem?,
            ( label, model.global*, item, model.global* )+
         )
      ),
      ( model.divBottom, model.global* )*
   )
}