<TEI>
<TEI> (TEI document) contains a single TEI-conformant document, combining a single TEI header
with one or more members of the model.resource class. Multiple TEI elements may be combined within a TEI (or teiCorpus) element. [4. Default Text Structure 15.1. Varieties of Composite Text]
Module | textstructure | ||||||||
Attributes | Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source)) att.typed (type)
|
||||||||
Contained by |
textstructure: TEI
|
||||||||
May contain | |||||||||
Note |
This element is required. It is customary to specify the TEI namespace http://www.tei-c.org/ns/1.0 on it, for example: <TEI version="4.4.0" xml:lang="it" xmlns="http://www.tei-c.org/ns/1.0">.
|
||||||||
Examples |
<TEI version="3.3.0"> <teiHeader> <fileDesc> <titleStmt> <title>The shortest TEI Document Imaginable</title> </titleStmt> <publicationStmt> <p>First published as part of TEI P2, this is the P5 version using a namespace.</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> <TEI version="2.9.1"> <teiHeader> <fileDesc> <titleStmt> <title>A TEI Document containing four page images </title> </titleStmt> <publicationStmt> <p>Unpublished demonstration file.</p> </publicationStmt> <sourceDesc> <p>No source: this is an original work.</p> </sourceDesc> </fileDesc> </teiHeader> <facsimile> <graphic url="page1.png"/> <graphic url="page2.png"/> <graphic url="page3.png"/> <graphic url="page4.png"/> </facsimile> </TEI> |
||||||||
Schematron |
<sch:ns prefix="tei" uri="http://www.tei-c.org/ns/1.0"/> <sch:ns prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/> <sch:ns prefix="rng" uri="http://relaxng.org/ns/structure/1.0"/> <sch:ns prefix="rna" uri="http://relaxng.org/ns/compatibility/annotations/1.0"/> <sch:ns prefix="sch" uri="http://purl.oclc.org/dsdl/schematron"/> <sch:ns prefix="sch1x" uri="http://www.ascc.net/xml/schematron"/> |
||||||||
Source | Github
<elementSpec module="textstructure" ident="TEI"> <gloss>TEI document</gloss> <desc>contains a single TEI-conformant document, combining a single TEI header with one or more members of the <ident type="class">model.resource</ident> class. Multiple <gi>TEI</gi> elements may be combined within a <gi>TEI</gi> (or <gi>teiCorpus</gi>) element.</desc> <classes> <memberOf key="att.global"/> <memberOf key="att.typed"/> </classes> <content> <sequence> <elementRef key="teiHeader"/> <alternate> <sequence> <classRef key="model.resource" minOccurs="1" maxOccurs="unbounded"/> <elementRef key="TEI" minOccurs="0" maxOccurs="unbounded"/> </sequence> <elementRef key="TEI" minOccurs="1" maxOccurs="unbounded"/> </alternate> </sequence> </content> <attList> <attDef ident="version" usage="opt"> <desc>specifies the version number of the TEI Guidelines against which this document is valid.</desc> <datatype> <dataRef key="teidata.version"/> </datatype> </attDef> </attList> </elementSpec> |