<divGen>

<divGen> (division de texte générée automatiquement) indique l'emplacement où doit apparaître une division du texte générée automatiquement par une application de traitement de texte 3.8.2 Index Entries
Modulecore — 3 Elements Available in All TEI Documents
Attributs
typeprécise le type de section de texte qui apparaîtra par génération automatique (par exemple, index, table de matière, etc.)
Statut Optionel
Type de données

<rng:ref name="data.enumerated"/>
data.enumerated
Exemple de valeurs possibles:
index
un index doit être généré et inséré à cet endroit
toc
une table des matières
figlist
une liste de figures
tablist
une liste des tableaux
Utilisé par model.frontPart model.divGenLike
Peut contenir
core: head
Declaration

<rng:element name="divGen">
<rng:ref name="att.global.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,
   attribute type { data.enumerated }?,
   model.headLike*
}
Exemple

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>
  <listBibl>
   <bibl/>
  </listBibl>
 </div1>
 <div1 type="backmat">
  <head>Indices</head>
  <divGen n="Index Nominumtype="NAMES"/>
  <divGen n="Index Rerumtype="THINGS"/>
 </div1>
</back>
Exemple

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>