<teiCorpus>

<teiCorpus> contains the whole of a TEI encoded corpus, comprising a single corpus header and one or more TEI elements, each containing a single text header and a text. 4 Default Text Structure 15.1 Varieties of Composite Text
Modulecore — 3 Elements Available in All TEI Documents
AttributesIn addition to global attributes
versionThe version of the TEI scheme
Status Optional
Datatype

<rng:data type="decimal"/>
xsd:decimal
Values A number identifying the version of the TEI guidelines
Used by
May contain
core: teiCorpus
header: teiHeader
textstructure: TEI
Declaration

<rng:element name="teiCorpus">
<rng:ref name="att.global.attributes"/>
<rng:optional>
 <rng:attribute name="versiona:defaultValue="5.0">
  <rng:data type="decimal"/>
 </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,
   attribute version { xsd:decimal }?,
   ( teiHeader, ( TEI | teiCorpus )+ )
}
Example
<teiCorpus>
 <teiHeader>
<!-- header for corpus -->
 </teiHeader>
 <TEI>
  <teiHeader>
<!-- header for first text -->
  </teiHeader>
  <text>
<!-- content of first text -->
  </text>
 </TEI>
 <TEI>
  <teiHeader>
<!-- header for second text -->
  </teiHeader>
  <text>
<!-- content of second text -->
  </text>
 </TEI>
<!-- more TEI elements here -->
</teiCorpus>
Note
Must contain one TEI header for the corpus, and a series of TEI elements, one for each text.
This element is mandatory when applicable.