<teiCorpus>

<teiCorpus> 하나의 코퍼스 헤더와 몇 개의 TEI 요소로 구성된, 그리고 하나의 텍스트 헤더와 하나의 텍스트로 구성된 TEI로 부호화된 코퍼스 전체를 포함한다. [4 Default Text Structure 15.1 Varieties of Composite Text]
모듈core — Elements Available in All TEI Documents
속성att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp))
versionTEI 스키마의 버전
상태 수의적
자료 유형

<rng:ref name="data.version"/>
data.version
기본값 5.0
에 의해 포함된
core: teiCorpus
포함할 수 있다
core: teiCorpus
header: teiHeader
iso-fs: fsdDecl
textstructure: TEI
선언

<rng:element name="teiCorpus">
 <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: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:choice>
   <rng:group>
    <rng:oneOrMore>
     <rng:ref name="model.resourceLike"/>
    </rng:oneOrMore>
    <rng:zeroOrMore>
     <rng:choice>
      <rng:ref name="TEI"/>
      <rng:ref name="teiCorpus"/>
     </rng:choice>
    </rng:zeroOrMore>
   </rng:group>
   <rng:oneOrMore>
    <rng:choice>
     <rng:ref name="TEI"/>
     <rng:ref name="teiCorpus"/>
    </rng:choice>
   </rng:oneOrMore>
  </rng:choice>
 </rng:group>
</rng:element>
element teiCorpus
{
   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,
   attribute version { data.version }?,
   (
      teiHeader,
      ( ( model.resourceLike+, ( TEI | teiCorpus )* ) | ( TEI | teiCorpus )+ )
   )
}
<teiCorpus version="5.2" xmlns="http://www.tei-c.org/ns/1.0">
 <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>