| <tagUsage> (element usage) documents the usage of a specific element within a specified document. [2.3.4. The Tagging Declaration] |
| Module | header — Specification |
| Attributes | | gi | (generic identifier) specifies the name (generic identifier) of the element indicated by the tag, within the namespace indicated by the parent <namespace> element. | | occurs | specifies the number of occurrences of this element within the text. | | withId | (with unique identifier) specifies the number of occurrences of this element within the text which bear a distinct value for the global xml:id attribute. |
|
| Contained by | |
| May contain | |
| Example | <tagsDecl partial="true">
<rendition xml:id="it" scheme="css"
selector="foreign, hi"> font-style: italic; </rendition>
<namespace name="http://www.tei-c.org/ns/1.0">
<tagUsage gi="hi" occurs="28" withId="2"> Used to mark English words italicized in the copy text.</tagUsage>
<tagUsage gi="foreign">Used to mark non-English words in the copy text.</tagUsage>
</namespace>
</tagsDecl>
|
| Content model |
<content>
<macroRef key="macro.limitedContent"/>
</content>
⚓ |
| Schema Declaration |
element tagUsage
{
att.global.attributes,
att.datcat.attributes,
attribute gi { text },
attribute occurs { text }?,
attribute withId { text }?,
macro.limitedContent
}⚓
|