<teiCorpus>

<teiCorpus> contient la totalité d'un corpus encodé selon la TEI, comprenant un seul en-tête de corpus et un ou plusieurs éléments TEI dont chacun contient un seul en-tête textuel et un texte [4 Default Text Structure 15.1 Varieties of Composite Text]
Modulecore — 3 Elements Available in All TEI Documents
Attributsatt.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))
versionla version du modèle TEI
Statut Optionel
Type de données

<rng:ref name="data.version"/>
data.version
Valeur par défaut 5.0
Valeurs a TEI version number
Utilisé par
Contenu dans
core: teiCorpus
Peut contenir
core: teiCorpus
header: teiHeader
textstructure: TEI
Declaration

<rng:element name="teiCorpus">
 <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="version" a:defaultValue="5.0">
   <rng:ref name="data.version"/>
  </rng:attribute>
 </rng:optional>
 <rng:group>
  <rng:ref name="teiHeader"/>
  <rng:oneOrMore>
   <rng:choice>
    <rng:ref name="TEI"/>
    <rng:ref name="teiCorpus"/>
   </rng:choice>
  </rng:oneOrMore>
 </rng:group>
</rng:element>
element teiCorpus
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute version { data.version }?,
   ( teiHeader, ( TEI | teiCorpus )+ )
}
Exemple
<teiCorpus xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader/>
 <TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader/>
  <text/>
 </TEI>
 <TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader/>
  <text/>
 </TEI>
</teiCorpus>
Note
Cet élément doit contenir un en-tête TEI pour le corpus, et une suite d'éléments TEI, correspondant à autant de textes.
Cet élément est obligatoire quand il est applicable.