<TEI>
<TEI> (documento TEI) contiene un solo documento conforme a la norma TEI, combinando un solo encabezado TEI (teiHeader) con uno o más miembros de la clase model.resource. Múltiples elementos TEI se pueden combinar al interno de un elemento TEI o teiCorpus. [4 Default Text Structure 16.1 Varieties of Composite Text] | |||||||||
Módulo | textstructure — Default Text Structure | ||||||||
Atributos |
|
||||||||
Miembro de | |||||||||
Contenido en | |||||||||
Puede contener | |||||||||
Nota |
Como todos los elementos en el esquema TEI (excepto egXML), este elemento se encuentra en el espacio de nombres (namespace) de TEI (cf. Namespaces). Por lo tanto, cuando se utiliza como el elemento más externo de un documento TEI, es necesario especificar el espacio de nombres de TEI en su interior. Esto se hace, normalmente, incluyendo http://www.tei-c.org/ns/1.0 como valor de la declaración de espacio de nombres (xmlns) sin indicar un prefijo, y por lo tanto sin necesidad de utilizar un prefijo en los elementos TEI del resto del documento. Por ejemplo: <TEI version="4.8.1" xml:lang="it" xmlns="http://www.tei-c.org/ns/1.0">. |
||||||||
Ejemplo |
<TEI version="3.3.0" xmlns="http://www.tei-c.org/ns/1.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> |
||||||||
Ejemplo |
<TEI version="2.9.1" xmlns="http://www.tei-c.org/ns/1.0">
<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> |
||||||||
Content model |
<content> |
||||||||
Declaración |
<rng:element name="TEI"> element TEI { att.global.attributes, att.global.analytic.attributes, att.global.change.attributes, att.global.facs.attributes, att.global.linking.attributes, att.global.rendition.attributes, att.global.responsibility.attributes, att.global.source.attributes, att.typed.attributes, attribute version { teidata.version }?, ( teiHeader, ( ( model.resource+, TEI* ) | TEI+ ) ) } |