<tagUsage>

<tagUsage> supplies information about the usage of a specific element within a text. [2.3.4 The Tagging Declaration]
Moduleheader — 2 The TEI Header
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
gi(element name) the name (generic identifier) of the element indicated by the tag.
Status Required
Datatype

<rng:ref name="data.name"/>
data.name
Values the name of an element within the namespace indicated by the parent namespace element
occursspecifies the number of occurrences of this element within the text.
Status Recommended
Datatype

<rng:ref name="data.count"/>
data.count
Values an integer number greater than zero
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

<rng:ref name="data.count"/>
data.count
Values an integer number greater than zero
renderspecifies the identifier of a rendition element which defines how this element is to be rendered.
Status Optional
Datatype

<rng:ref name="data.pointer"/>
data.pointer
Values an identifier specified as the value of the xml:id attribute on some rendition element typically but not necessarily in the current document.
Used by
Contained by
header: namespace
May contain
Declaration

<rng:element name="tagUsage">
 <rng:ref name="att.global.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:attribute name="gi">
  <rng:ref name="data.name"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="occurs">
   <rng:ref name="data.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="withId">
   <rng:ref name="data.count"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="render">
   <rng:ref name="data.pointer"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.limitedContent"/>
</rng:element>
element tagUsage
{
   att.global.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   attribute gi { data.name },
   attribute occurs { data.count }?,
   attribute withId { data.count }?,
   attribute render { data.pointer }?,
   macro.limitedContent
}
Example
<tagsDecl>
 <rendition xml:id="it">Render using a slant or italic variant on the current font</rendition>
<!-- ... -->
 <namespace name="http://www.tei-c.org/ns/1.0">
  <tagUsage
    gi="hi"
    occurs="28"
    withId="2"
    render="#it">
Used to mark English words
     italicised in the copy text.</tagUsage>
  <tagUsage gi="foreign" render="#it">Used to mark non-English words in the copy text.</tagUsage>
<!-- ... -->
 </namespace>
</tagsDecl>