<tagUsage>

<tagUsage> (element usage) documents the usage of a specific element within a specified document. [2.3.4 The Tagging Declaration]
Module header — The TEI Header
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.
Status Required
Datatype teidata.name
occurs⚓︎ specifies the number of occurrences of this element within the text.
Status Recommended
Datatype teidata.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.
Status Recommended
Datatype teidata.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
<rng:element name="tagUsage">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:ref name="att.datcat.attributes"/>
 <rng:attribute name="gi">
  <rng:ref name="teidata.name"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="occurs">
   <rng:ref name="teidata.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="withId">
   <rng:ref name="teidata.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.limitedContent"/>
</rng:element>
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,
   att.global.source.attributes,
   att.datcat.attributes,
   attribute gi { teidata.name },
   attribute occurs { teidata.count }?,
   attribute withId { teidata.count }?,
   macro.limitedContent
}