<TEI>
<TEI> (TEI文件) 包含符合TEI標準的單一文件,由一個TEI標頭及一份文本組成,可單獨出現或是作為元素teiCorpus的一部分。 [4 Default Text Structure 16.1 Varieties of Composite Text]<a href="https://translate.tei-c.org/translate.html?edit=TEI.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a> | |||||||
組件 | textstructure — Default Text Structure | ||||||
屬性 |
|
||||||
俱乐部会员 | |||||||
可包含在於 | |||||||
可包含 | |||||||
註 |
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: <TEI version="4.8.1" xml:lang="it" xmlns="http://www.tei-c.org/ns/1.0">. |
||||||
例子 |
<TEI version="3.3.0" xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader> <fileDesc> <titleStmt> <title>TEI中文指引</title> </titleStmt> <publicationStmt> <p>將與TEI 中文在地化計劃等文件一同出版</p> </publicationStmt> <sourceDesc> <p>譯自TEI P5 英文指引</p> </sourceDesc> </fileDesc> </teiHeader> <text> <body> <p>這是TEI P5的中文指引...</p> </body> </text> </TEI> |
||||||
Content model |
<content> |
||||||
宣告 |
<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+ ) ) } |