<TEI>

<TEI> (TEI文件) 符合TEI標準的單一文件,包括ㄧ個TEI標頭以及ㄧ個文本,可單獨出現或是處於元素<teiCorpus>(tei文集)之中。 4 Default Text Structure 15.1 Varieties of Composite Text
組件textstructure — 4 Default Text Structure
屬性
versionTEI架構的版本
狀態 非必備的
資料類型
xsd:decimal
A number identifying the version of the TEI guidelines
屬於teiCorpus
可包含
header: teiHeader
iso-fs: fsdDecl
textstructure: text
transcr: facsimile
宣告
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>
This element is required.