<teiCorpus>
<teiCorpus> contains the whole of a TEI encoded corpus, comprising a single corpus header and one or more TEI elements, each containing a single text header and a text. [4 Default Text Structure 15.1 Varieties of Composite Text] | |||||||||||
Module | core — Elements Available in All TEI Documents | ||||||||||
Attributes | att.global (@xml:id, @n, @xml:lang, @rend, @style, @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))
| ||||||||||
Member of | |||||||||||
Contained by | core: teiCorpus | ||||||||||
May contain | |||||||||||
Declaration |
element teiCorpus { 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+, ( TEI | teiCorpus )* ) | ( TEI | teiCorpus )+ ) ) } | ||||||||||
Example | <teiCorpus version="5.2" xmlns="http://www.tei-c.org/ns/1.0"> <teiHeader> <!-- header for corpus --> </teiHeader> <TEI> <teiHeader> <!-- header for first text --> </teiHeader> <text> <!-- content of first text --> </text> </TEI> <TEI> <teiHeader> <!-- header for second text --> </teiHeader> <text> <!-- content of second text --> </text> </TEI> <!-- more TEI elements here --> </teiCorpus> | ||||||||||
Note | Must contain one TEI header for the corpus, and a series of TEI elements, one for each text. This element is mandatory when applicable. |