<teiCorpus>
<teiCorpus> (TEI corpus) 包含一套用TEI編碼的文件集,由單一文集標頭以及一個 (或多個) TEI元素所組成,各TEI元素包含單一文本標頭和一個文本。 [4 Default Text Structure 16.1 Varieties of Composite Text] | |||||||
組件 | core — Elements Available in All TEI Documents | ||||||
屬性 |
|
||||||
俱乐部会员 | |||||||
可包含在於 |
core: teiCorpus
|
||||||
可包含 | |||||||
註 |
Should contain one teiHeader for the corpus, and a series of TEI elements, one for each text. As with all elements in the TEI scheme (except egXML) this element is in the TEI namespace (see Namespaces). Thus, when it is used as the outermost element of a TEI document, it is necessary to specify the TEI namespace on it. This is customarily achieved by including http://www.tei-c.org/ns/1.0 as the value of the XML namespace declaration (xmlns), without indicating a prefix, and then not using a prefix on TEI elements in the rest of the document. For example: <teiCorpus version="4.8.1" xml:lang="en" xmlns="http://www.tei-c.org/ns/1.0">. |
||||||
例子 |
<teiCorpus version="3.3.0" xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader> <!-- 該文集的總header --> </teiHeader> <TEI> <teiHeader> <!-- 第一個文章的header --> </teiHeader> <text> <!-- 第一個文章的內容 --> </text> </TEI> <TEI> <teiHeader> <!-- 第二個文章的header --> </teiHeader> <text> <!-- 第二個文章的內容 --> </text> </TEI> <!-- 其他TEI元素 --> </teiCorpus> |
||||||
Content model |
<content> |
||||||
宣告 |
<rng:element name="teiCorpus"> element teiCorpus { 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*, model.describedResource+ ) } |