<index>

<index> (索引項目) 標誌一個因某種目的而被索引的位置。 [3.9.2 Index Entries]
組件 core — Elements Available in All TEI Documents
屬性
indexName⚓︎ 提供該索引項目所屬索引名稱。
狀態 非必備的
資料類型 teidata.name
俱乐部会员
可包含在於
analysis: cl m phr s span w
figures: cell figure table
linking: ab seg standOff
nets: graph
spoken: u writing
tagdocs: eg valDesc
textcrit: lem rdg wit witDetail
verse: metSym rhyme
可包含
core: index term
例子
道家思想的主要代表家為老子。 <index indexName="NAMES">
 <term>老子</term>
</index>姓李名耳,字伯陽,有人說又稱老聃。在傳說中,老子一生下來時,就具有白色的眉毛及鬍子,所以被後來稱為老子。相傳生活在春秋時期。<index indexName="eras">
 <term>春秋時期</term>
</index> 著有《道德經》,是中國古代著名思想家。
Content model
<content>
 <sequence minOccurs="0"
  maxOccurs="unbounded">

  <elementRef key="term"/>
  <elementRef key="indexminOccurs="0"/>
 </sequence>
</content>
宣告
<rng:element name="index">
 <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.spanning.attributes"/>
 <rng:optional>
  <rng:attribute name="indexName">
   <rng:ref name="teidata.name"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:group>
   <rng:ref name="term"/>
   <rng:optional>
    <rng:ref name="index"/>
   </rng:optional>
  </rng:group>
 </rng:zeroOrMore>
</rng:element>
element index
{
   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.spanning.attributes,
   attribute indexName { teidata.name }?,
   ( term, index? )*
}