<TEI>

<TEI> (document TEI) contient un seul document conforme à la TEI, qui comprend un en-tête TEI et un texte, soit de façon isolée soit comme partie d’un élément teiCorpus. [4 Default Text Structure 15.1 Varieties of Composite Text]
Moduletextstructure — 4 Default Text Structure
Attributsatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
versionla version majeure du schéma TEI
Statut Optionel
Type de données

<rng:ref name="data.version"/>
data.version
Utilisé par
Contenu dans
core: teiCorpus
Peut contenir
header: teiHeader
iso-fs: fsdDecl
textstructure: text
Declaration

<rng:element name="TEI">
 <rng:ref name="att.global.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:optional>
  <rng:attribute name="version">
   <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:optional>
     <rng:ref name="text"/>
    </rng:optional>
   </rng:group>
   <rng:ref name="text"/>
  </rng:choice>
 </rng:group>
</rng:element>
element TEI
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute version { data.version }?,
   ( teiHeader, ( ( model.resourceLike+, text? ) | text ) )
}
Schematron

<s:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/>
Schematron

<s:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/>
Exemple
<TEI version="5.0" xmlns="http://www.tei-c.org/ns/1.0">
 <teiHeader>
  <fileDesc>
   <titleStmt>
    <title>Le document TEI le plus court possible.</title>
   </titleStmt>
   <publicationStmt>
    <p>D'abord publié comme faisant partie de la TEI P2.</p>
   </publicationStmt>
   <sourceDesc>
    <p>Aucune source : il s'agit d'un document original.</p>
   </sourceDesc>
  </fileDesc>
 </teiHeader>
 <text>
  <body>
   <p>A peu pres, le document TEI le plus court envisageable.</p>
  </body>
 </text>
</TEI>
Note
Cet élément est obligatoire.