<teiCorpus>

<teiCorpus> TEI準拠のコーパス全体を示す.ヘダーが1つと,ひとつ以上の要素TEIから 成る.各要素TEIには,テキストヘダーと要素textが1つある. [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)) (att.global.source (@source)) att.typed (@type, @subtype)
version当該TEIスキームの版.
状態 任意
データ型 teidata.version
上位
core: teiCorpus
下位
core: teiCorpus
header: teiHeader
iso-fs: fsdDecl
textstructure: TEI text
解説

コーパス全体にはひとつのTEIヘダーが,要素TEIにはひとつの 要素textがある.

当該要素素は,適応できる場合,必須である.

<teiCorpus version="3.3.0" 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>
Content model
<content>
 <sequence>
  <elementRef key="teiHeader"/>
  <alternate>
   <sequence>
    <classRef key="model.resourceLike"
     minOccurs="1maxOccurs="unbounded"/>

    <alternate minOccurs="0"
     maxOccurs="unbounded">

     <elementRef key="TEI"/>
     <elementRef key="teiCorpus"/>
    </alternate>
   </sequence>
   <alternate minOccurs="1"
    maxOccurs="unbounded">

    <elementRef key="TEI"/>
    <elementRef key="teiCorpus"/>
   </alternate>
  </alternate>
 </sequence>
</content>
宣言
<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: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: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,
   att.global.source.attributes,
   att.typed.attributes,
   attribute version { teidata.version }?,
   (
      teiHeader,
      ( ( model.resourceLike+, ( TEI | teiCorpus )* ) | ( TEI | teiCorpus )+ )
   )
}