<divGen>

<divGen> ソフトウェアで自動生成されたテキスト部分の場所を示す. [3.8.2 Index Entries]
モジュールcore — 3 Elements Available in All TEI Documents
属性att.global (@xml:id, @n, @xml:lang, @rend, @style, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
type 生成されたテキスト部分の種類を示す.例えば,索引,目次など.
状態 任意
データ型

<rng:ref name="data.enumerated"/>
data.enumerated
例としての値は以下の通り:
index
当該の場所に生成された索引.
toc
目次.
figlist
図目次.
tablist
表目次.
解説
妥当な値はソフトウェアにより異なる.上記に示された値は,一般的 なもので,これで全てではない.
当該モジュールを使用するもの
上位
下位
core: head
宣言

<rng:element name="divGen">
 <rng:ref name="att.global.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:optional>
  <rng:attribute name="type">
   <rng:ref name="data.enumerated"/>
  </rng:attribute>
 </rng:optional>
 <rng:zeroOrMore>
  <rng:ref name="model.headLike"/>
 </rng:zeroOrMore>
</rng:element>
element divGen
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute type { data.enumerated }?,
   model.headLike*
}

One use for this element is to allow document preparation software to generate an index and insert it in the appropriate place in the output. The example below assumes that the indexName attribute on index elements in the text has been used to specify index entries for the two generated indexes, named NAMES and THINGS:

<back>
 <div1 type="backmat">
  <head>Bibliography</head>
<!-- .... -->
 </div1>
 <div1 type="backmat">
  <head>Indices</head>
  <divGen n="Index Nominum" type="NAMES"/>
  <divGen n="Index Rerum" type="THINGS"/>
 </div1>
</back>

Another use for divGen is to specify the location of an automatically produced table of contents:

<front>
<!--<titlePage>...</titlePage>-->
 <divGen type="toc"/>
 <div>
  <head>Preface</head>
  <p> ... </p>
 </div>
</front>
解説
当該要素は,ソフトウェアによる文書処理を想定したもので,既存資料か らの転記における利用を想定したものではない.当該要素により,ソフトウェ アにより生成された索引,目次などの場所を指定することが容易になる.