<divGen>

<divGen> (自動產生的文字區段) 指出文件處理軟體運作下自動產生的文字區段所出現的位置。 [3.9.2 Index Entries]
組件 core — Elements Available in All TEI Documents
屬性
type⚓︎ 具體指明何種文字區段 (如索引、目錄等) 會出現。
Derived from att.typed
狀態 非必備的
資料類型 teidata.enumerated
實例值包含:
index
索引會產生並置入於此處<a href="https://translate.tei-c.org/translate.html?edit=divGen.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a>
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.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.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.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.typed.attribute.subtype,
   attribute type { teidata.enumerated }?,
   model.headLike*
}