<text>

<text> (texte) contient un seul texte quelconque, simple ou composite, par exemple un poème ou une pièce de théâtre, un recueil d’essais, un roman, un dictionnaire ou un échantillon de corpus. [4 Default Text Structure 15.1 Varieties of Composite Text]
Module textstructure — Default Text Structure
Attributs
Membre du
Contenu dans
core: teiCorpus
textstructure: TEI group
Peut contenir
Note

Cet élément ne devrait pas être utilisé pour encoder un texte inséré à un endroit non prévisible à l'intérieur de la structure d'un autre texte, comme par exemple dans un récit qui est enchâssé ou cité dans un autre ; c'est l'élément floatingText qui doit être utilisé à cet effet.

Exemple
<text>
 <front>
  <docTitle>
   <titlePart>Souvenir de la nuit du 4</titlePart>
  </docTitle>
 </front>
 <body>
  <l>Il avait dans sa poche une toupie en buis.</l>
 </body>
</text>
Exemple

Le body d'un texte peut être remplacé par un groupe de textes enchâssés, comme dans la structure suivante :

<TEI xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
<!--[ en-tête du texte composite ]-->
 </teiHeader>
 <text>
  <front>
<!--[ partie préfatoire du texte composite ]-->
  </front>
  <group>
   <text>
    <front>
<!--[ partie préfatoire du premier texte ]-->
    </front>
    <body>
<!--[ corps du premier texte ]-->
    </body>
    <back>
<!--[ annexe du premier texte ]-->
    </back>
   </text>
   <text>
    <front>
<!--[ partie préfatoire du deuxième texte ]-->
    </front>
    <body>
<!--[ corps du deuxième texte ]-->
    </body>
    <back>
<!--[ annex du deuxième texte ]-->
    </back>
   </text>
<!--[ encore de textes, simples ou composites ]-->
  </group>
  <back>
<!--[ annex du texte composite ]-->
  </back>
 </text>
</TEI>
Modèle de contenu
<content>
 <sequence>
  <classRef key="model.global"
   minOccurs="0maxOccurs="unbounded"/>

  <sequence minOccurs="0">
   <elementRef key="front"/>
   <classRef key="model.global"
    minOccurs="0maxOccurs="unbounded"/>

  </sequence>
  <alternate>
   <elementRef key="body"/>
   <elementRef key="group"/>
  </alternate>
  <classRef key="model.global"
   minOccurs="0maxOccurs="unbounded"/>

  <sequence minOccurs="0">
   <elementRef key="back"/>
   <classRef key="model.global"
    minOccurs="0maxOccurs="unbounded"/>

  </sequence>
 </sequence>
</content>
Schéma Declaration
<rng:element name="text">
 <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.declaring.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:ref name="att.written.attributes"/>
 <rng:group>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
  <rng:optional>
   <rng:group>
    <rng:ref name="front"/>
    <rng:zeroOrMore>
     <rng:ref name="model.global"/>
    </rng:zeroOrMore>
   </rng:group>
  </rng:optional>
  <rng:choice>
   <rng:ref name="body"/>
   <rng:ref name="group"/>
  </rng:choice>
  <rng:zeroOrMore>
   <rng:ref name="model.global"/>
  </rng:zeroOrMore>
  <rng:optional>
   <rng:group>
    <rng:ref name="back"/>
    <rng:zeroOrMore>
     <rng:ref name="model.global"/>
    </rng:zeroOrMore>
   </rng:group>
  </rng:optional>
 </rng:group>
</rng:element>
element text
{
   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.declaring.attributes,
   att.typed.attributes,
   att.written.attributes,
   (
      model.global*,
      ( front, model.global* )?,
      ( body | group ),
      model.global*,
      ( back, model.global* )?
   )
}