<tagUsage>

<tagUsage> (element usage) fornisce informazioni circa l'uso di uno specifico elemento all'interno di un testo. [2.3.4 The Tagging Declaration]<a href="https://translate.tei-c.org/translate.html?edit=tagUsage.xml"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="Translation out of date." viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title>Translation out of date.</title> <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"></path> <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"></path></svg></a>
Modulo header — The TEI Header
Attributi
gi⚓︎ (nome di elemento) il nome (identificatore generico) dell'elemento indicato dal marcatore.
Stato Richiesto
Tipo di dati teidata.name
occurs⚓︎ specifica il numero di occorrenze dell'elemento nel testo.
Stato Consigliato
Tipo di dati teidata.count
withId⚓︎ (con identificatore unico) specifica il numero di occorrenze dell'elemento nel testo e che reca un valore distinto dall'attributo globale xml:id.
Stato Consigliato
Tipo di dati teidata.count
Contenuto in
header: namespace
Può contenere
Esempio
<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>
Dichiarazione
<rng:element name="tagUsage">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.rendition.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.analytic.attributes,
   att.global.change.attributes,
   att.global.facs.attributes,
   att.global.linking.attributes,
   att.global.rendition.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
}