<divGen>

<divGen> (división de texto generada automáticamente) indica la localización en la cual aparece una división textual generada automáticamente por la aplicación de un procesamiento de texto. 3.8.2 Index Entries
Módulocore — 3 Elements Available in All TEI Documents
Atributos
typeespecifica que tipo de divisón de texto generada aparece (p.ej. índice, tabla de contenidos, etc.)
Estado Opcional
Tipo de datos
data.enumerated
Posibles valores:
index
an index is to be generated and inserted at this point.
toc
(una tabla de contenidos.) a table of contents
figlist
(una lista de cifras.) a list of figures
tablist
(una lista de tablas.) a list of tables
Nota
Valid values are application-dependent; those shown are of obvious utility in document production, but are by no means exhaustive.
Used by model.frontPart model.divGenLike
May contain
core: head
Declaración
element divGen
{
   att.global.attributes,
   attribute type { data.enumerated }?,
   model.headLike*
}
Ejemplo

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>
Ejemplo

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>
Nota
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.