<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]
Modulcore — 3 Elements Available in All TEI Documents
Attributeatt.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))
versionThe version of the TEI scheme
Zustand Optional
Datentyp

<rng:ref name="data.version"/>
data.version
Vorgabe 5.0
Werte a TEI version number
Mitglied des
Enthalten in
core: teiCorpus
Kann enthalten
core: teiCorpus
header: teiHeader
textstructure: TEI
Deklaration

<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 )+ )
}
Beispiel
<teiCorpus version="5.2" xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
<!-- header for corpus -->
 </teiHeader>
 <TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
<!-- header for first text -->
  </teiHeader>
  <text>
<!-- content of first text -->
  </text>
 </TEI>
 <TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
<!-- header for second text -->
  </teiHeader>
  <text>
<!-- content of second text -->
  </text>
 </TEI>
<!-- more TEI elements here -->
</teiCorpus>