<TEI>

<TEI> (documento TEI) contiene un documento TEI-conforme, comprendente un'intestazione e un testo, sia esso isolato o parte di un elemento teiCorpus 4 Default Text Structure 15.1 Varieties of Composite Text
Modulotextstructure — 4 Default Text Structure
Attributi
versionversione dello schema TEI
Stato Opzionale
Tipo di dati

<rng:data type="decimal"/>
xsd:decimal
Valori A number identifying the version of the TEI guidelines
Usato da
Può contenere
header: teiHeader
iso-fs: fsdDecl
textstructure: text
transcr: facsimile
Dichiarazione

<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"/>
Esempio
<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>