TEI Lex-0

— A baseline encoding for lexicographic data

12.1.126. <tagUsage>

<tagUsage> (element usage) documents the usage of a specific element within a specified document. [2.3.4. The Tagging Declaration]
Moduleheader — 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.
StatusRequired
Datatypeteidata.name
occursspecifies the number of occurrences of this element within the text.
StatusRecommended
Datatypeteidata.count
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.
StatusRecommended
Datatypeteidata.count
Contained by
header: namespace
May contain
Example
<tagsDecl partial="true">
 <rendition xml:id="itscheme="css"
  selector="foreign, hi"> font-style: italic; </rendition>
 <!-- ... -->
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage gi="hioccurs="28withId="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
}