<divGen>

<divGen> (自動產生的文字區段) 指出文件處理軟體運作下自動產生的文字區段所出現的位置。 [3.8.2 Index Entries]
組件core — Elements Available in All TEI Documents
屬性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)
type具體指明何種文字區段 (如索引、目錄等) 會出現。
Derived fromatt.typed
狀態 非必備的
資料類型 teidata.enumerated
實例值包含:
index
索引會產生並置入於此處
toc
目錄
figlist
圖表列表
tablist
表格列表
俱乐部会员
可包含在於
可包含
core: head

This element is intended primarily for use in document production or manipulation, rather than in the transcription of pre-existing materials; it makes it easier to specify the location of indices, tables of contents, etc., to be generated by text preparation or word processing software.

例子
<back>
 <div1 type="backmat">
  <head>參考書目</head>
<!-- ... -->
 </div1>
 <div1 type="backmat">
  <head>索引</head>
  <divGen n="Index Nominumtype="人名"/>
  <divGen n="Index Rerumtype="事物"/>
 </div1>
</back>
例子
<front>
<!--<titlePage>書名頁</titlePage>-->
 <divGen type="toc"/>
 <div>
  <head></head>
  <p> ... </p>
 </div>
</front>
Content model
<content>
 <classRef key="model.headLike"
  minOccurs="0maxOccurs="unbounded"/>

</content>
宣告
<rng:element name="divGen">
 <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.attribute.subtype"/>
 <rng:optional>
  <rng:attribute name="type">
   <rng:ref name="teidata.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:ref name="model.headLike"/>
 </rng:zeroOrMore>
</rng:element>
element divGen
{
   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.attribute.subtype,
   attribute type { teidata.enumerated }?,
   model.headLike*
}