<tagUsage>
<tagUsage> 提供文件中某個特定元素的使用資訊。 [2.3.4 The Tagging Declaration] | |||||||||||||||||||||||||
組件 | header — The TEI Header | ||||||||||||||||||||||||
屬性 | att.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp))
| ||||||||||||||||||||||||
可包含在於 | header: namespace | ||||||||||||||||||||||||
可包含 | core: abbr address bibl biblStruct choice cit date desc distinct email emph expan foreign gloss hi label list listBibl measure measureGrp mentioned name num ptr q quote ref rs said soCalled stage term time title dictionaries: lang figures: table msdescription: catchwords depth dim dimensions height heraldry locus locusGrp material msDesc objectType origDate origPlace secFol signatures stamp watermark width namesdates: addName affiliation bloc climate country district forename genName geo geogFeat geogName listEvent listNym listOrg listPerson listPlace location nameLink offset orgName persName placeName population region roleName settlement state surname terrain trait tagdocs: att classSpec code constraintSpec eg egXML elementSpec gi ident listRef macroSpec moduleSpec specGrp specGrpRef tag val textstructure: floatingText | ||||||||||||||||||||||||
宣告 |
element tagUsage { att.global.attributes, att.global.rendition.attributes, att.global.linking.attributes, att.global.analytic.attributes, att.global.facs.attributes, att.global.change.attributes, att.global.responsibility.attributes, attribute gi { data.name }, attribute occurs { data.count }?, attribute withId { data.count }?, attribute render { list { data.pointer+ } }?, macro.limitedContent } | ||||||||||||||||||||||||
例子 | <tagsDecl> <rendition xml:id="zh-tw_it">將斜體用於通用的字型</rendition> <!-- ... --> <namespace name="http://www.tei-c.org/ns/1.0"> <tagUsage gi="hi" occurs="28" withId="2" render="#zh-tw_it"> 用來標示副本裡的斜體英文字。</tagUsage> <tagUsage gi="foreign" render="#zh-tw_it">用來標示副本裡的非英文字。</tagUsage> <!-- ... --> </namespace> </tagsDecl> |