<TEI>

<TEI> TEIに準拠する文書 4 Default Text Structure 15.1 Varieties of Composite Text
モジュールtextstructure — 4 Default Text Structure
属性
version TEIスキームの版を示す.
状態 任意
データ型

<rng:data type="decimal"/>
xsd:decimal
A number identifying the version of the TEI guidelines
当該モジュールを使用するもの
下位
header: teiHeader
iso-fs: fsdDecl
textstructure: text
transcr: facsimile
宣言

<rng:element name="TEI">
<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:choice>
  <rng:group>
   <rng:oneOrMore>
    <rng:ref name="model.resourceLike"/>
   </rng:oneOrMore>
<!-- <rng:ref name="text"/>-->
   <rng:optional>
    <rng:ref name="text"/>
   </rng:optional>
  </rng:group>
  <rng:ref name="text"/>
 </rng:choice>
</rng:group>
</rng:element>
element TEI
{
   att.global.attributes,
   attribute version { xsd:decimal }?,
   ( teiHeader, ( ( model.resourceLike+, text? ) | text ) )
}

<sch:ns prefix="teiuri="http://www.tei-c.org/ns/1.0"/>
<sch:ns prefix="rnguri="http://relaxng.org/ns/structure/1.0"/>
<TEI>
 <teiHeader>
  <fileDesc>
   <titleStmt>
    <title>The shortest TEI Document Imaginable</title>
   </titleStmt>
   <publicationStmt>
    <p>First published as part of TEI P2.</p>
   </publicationStmt>
   <sourceDesc>
    <p>No source: this is an original work.</p>
   </sourceDesc>
  </fileDesc>
 </teiHeader>
 <text>
  <body>
   <p>This is about the shortest TEI document imaginable.</p>
  </body>
 </text>
</TEI>
解説
当該要素は必須である.