<teiCorpus>

<teiCorpus> (TEI corpus) 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 16.1 Varieties of Composite Text]<a href="https://translate.tei-c.org/translate.html?edit=teiCorpus.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a>
Module core — Elements Available in All TEI Documents
Attributs
version⚓︎ (version) la version du modèle TEI.
Statut Optionel
Type de données teidata.version
Membre du
Contenu dans
core: teiCorpus
Peut contenir
core: teiCorpus
header: teiHeader
iso-fs: fsdDecl
linking: standOff
textstructure: TEI text
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.

Exemple
<teiCorpus version="3.3.0" xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
<!--[en-tête du corpus]-->
 </teiHeader>
 <TEI>
  <teiHeader>
<!--[en-tête du premier texte]-->
  </teiHeader>
  <text>
<!--[premier texte du corpus]-->
  </text>
 </TEI>
 <TEI>
  <teiHeader>
<!--[en-tête du deuxième texte]-->
  </teiHeader>
  <text>
<!--[deuxième texte du corpus]-->
  </text>
 </TEI>
</teiCorpus>
Modèle de contenu
<content>
 <sequence>
  <elementRef key="teiHeader"/>
  <classRef key="model.resource"
   minOccurs="0maxOccurs="unbounded"/>

  <classRef key="model.describedResource"
   minOccurs="1maxOccurs="unbounded"/>

 </sequence>
</content>
Schéma Declaration
<rng:element name="teiCorpus">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.typed.attributes"/>
 <rng:optional>
  <rng:attribute name="version">
   <rng:ref name="teidata.version"/>
  </rng:attribute>
 </rng:optional>
 <rng:group>
  <rng:ref name="teiHeader"/>
  <rng:zeroOrMore>
   <rng:ref name="model.resource"/>
  </rng:zeroOrMore>
  <rng:oneOrMore>
   <rng:ref name="model.describedResource"/>
  </rng:oneOrMore>
 </rng:group>
</rng:element>
element teiCorpus
{
   att.global.attributes,
   att.global.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   att.typed.attributes,
   attribute version { teidata.version }?,
   ( teiHeader, model.resource*, model.describedResource+ )
}