<tagUsage>

Documents the usage of a specific element within the document.
Module
Attributes
analog, class, context, copyof, corresp, follows, label, n, name, next, occurs, precedes, prev, resp, sameas, synch, type, withid, xml:base, xml:id
analog(optional)Contains a reference to a field or element in another descriptive encoding system to which this MEI element is comparable. Value is plain text.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute. One or more values from data.URI, separated by spaces.
context(optional)Circumstances in which the element appears, an XPath expression. Value is plain text.
copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI.
corresp(optional)Used to point to other elements that correspond to this one in a generic fashion. One or more values from data.URI, separated by spaces.
follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element. One or more values from data.URI, separated by spaces.
label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
name(required)Name of the element. Value conforms to data.NMTOKEN.
next(optional)Used to point to the next event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
occurs(optional)Number of occurrences in the defined context. Value is a positive integer, including 0.
precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element. One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
resp(optional)Indicates the agent(s) responsible for some aspect of the text’s transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element. One or more values from data.URI, separated by spaces.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
withid(optional)Number of occurrences in the defined context that have an xml:id attribute. Value is a positive integer, including 0.
xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI.
xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
name(required)Name of the element. Value conforms to data.NMTOKEN.
context(optional)Circumstances in which the element appears, an XPath expression. Value is plain text.
occurs(optional)Number of occurrences in the defined context. Value is a positive integer, including 0.
withid(optional)Number of occurrences in the defined context that have an xml:id attribute. Value is a positive integer, including 0.
(MEI.shared) Attributes common to many elements.
(MEI.shared) Attributes that form the basis of the att.common class.
xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI.
(MEI.shared) Attributes that uniquely identify an element.
xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
(MEI.shared)
label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
(MEI.shared) Attributes that specify element-to-element relationships.
copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI.
corresp(optional)Used to point to other elements that correspond to this one in a generic fashion. One or more values from data.URI, separated by spaces.
follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element. One or more values from data.URI, separated by spaces.
next(optional)Used to point to the next event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element. One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element. One or more values from data.URI, separated by spaces.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
(MEI.shared) Attributes used to supply a number-like designation for an element.
n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
(MEI.shared) Attributes capturing information regarding responsibility for some aspect of the text's creation, transcription, editing, or encoding.
resp(optional)Indicates the agent(s) responsible for some aspect of the text’s transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
(MEI.shared) Attributes which can be used to classify features.
type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
(MEI.shared) Attributes which can be used to classify features.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute. One or more values from data.URI, separated by spaces.
(MEI.shared) Bibliographic attributes.
analog(optional)Contains a reference to a field or element in another descriptive encoding system to which this MEI element is comparable. Value is plain text.
Metadata header component declarations.
context(optional)Circumstances in which the element appears, an XPath expression. Value is plain text.
name(required)Name of the element. Value conforms to data.NMTOKEN.
occurs(optional)Number of occurrences in the defined context. Value is a positive integer, including 0.
withid(optional)Number of occurrences in the defined context that have an xml:id attribute. Value is a positive integer, including 0.
Component declarations that are shared between two or more modules.
analog(optional)Contains a reference to a field or element in another descriptive encoding system to which this MEI element is comparable. Value is plain text.
class(optional)Contains one or more URIs which denote classification terms that apply to the entity bearing this attribute. One or more values from data.URI, separated by spaces.
copyof(optional)Points to an element of which the current element is a copy. Value conforms to data.URI.
corresp(optional)Used to point to other elements that correspond to this one in a generic fashion. One or more values from data.URI, separated by spaces.
follows(optional)points to one or more events in a user-defined collection that are known to be predecessors of the current element. One or more values from data.URI, separated by spaces.
label(optional)Captures text to be used to generate a label for the element to which it’s attached, a "tool tip" or prefatory text, for example. Should not be used to record document content. Value is plain text.
n(optional)Provides a number-like designation that indicates an element’s position in a sequence of similar elements. May not contain space characters. Value conforms to data.WORD.
next(optional)Used to point to the next event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
precedes(optional)Points to one or more events in a user-defined collection that are known to be successors of the current element. One or more values from data.URI, separated by spaces.
prev(optional)Points to the previous event(s) in a user-defined collection. One or more values from data.URI, separated by spaces.
resp(optional)Indicates the agent(s) responsible for some aspect of the text’s transcription, editing, or encoding. Its value must point to one or more identifiers declared in the document header. One or more values from data.URI, separated by spaces.
sameas(optional)Points to an element that is the same as the current element but is not a literal copy of the current element. One or more values from data.URI, separated by spaces.
synch(optional)Points to elements that are synchronous with the current element. One or more values from data.URI, separated by spaces.
type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels. One or more values of datatype NMTOKEN, separated by spaces.
xml:base(optional)Provides a base URI reference with which applications can resolve relative URI references into absolute URI references. Value conforms to data.URI.
xml:id(optional)Regularizes the naming of an element and thus facilitates building links between it and other resources. Each id attribute within a document must have a unique value. Value is a valid xml:id.
Member of
(tagUsage isn't member of any model class)
Contained By
namespaceSupplies the formal name of the namespace to which the elements documented by its children belong.
Metadata header component declarations.
namespaceSupplies the formal name of the namespace to which the elements documented by its children belong.
May Contain
attUsageDocuments the usage of a specific attribute of the element.
descContainer for text that briefly describes the feature to which it is attached, including its intended usage, purpose, or application as appropriate.
Metadata header component declarations.
attUsageDocuments the usage of a specific attribute of the element.
Component declarations that are shared between two or more modules.
descContainer for text that briefly describes the feature to which it is attached, including its intended usage, purpose, or application as appropriate.
Remarks

The model of this element is based on the tagUsage element of the Text Encoding Initiative (TEI).

Constraints

@context attribute should contain an XPath expression.

Declaration
<elementSpec ident="tagUsage" module="MEI.header">
<desc xml:lang="en">Documents the usage of a specific element within the document.</desc>
<classes>
<memberOf key="att.common"/>
<memberOf key="att.bibl"/>
</classes>
<content>
<rng:optional>
<rng:ref name="desc"/>
</rng:optional>
<rng:zeroOrMore>
<rng:ref name="attUsage"/>
</rng:zeroOrMore>
</content>
<constraintSpec ident="context_attribute_requires_content" scheme="schematron">
<constraint>
<sch:rule context="@context">
<sch:assert role="warning" test="not(normalize-space(.) eq '')">@context attribute should contain an XPath expression.</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
<attList>
<attDef ident="name" usage="req">
<desc xml:lang="en">Name of the element.</desc>
<datatype>
<rng:ref name="data.NMTOKEN"/>
</datatype>
</attDef>
<attDef ident="context" usage="opt">
<desc xml:lang="en">Circumstances in which the element appears, an XPath expression.</desc>
<datatype>
<rng:data type="string"/>
</datatype>
</attDef>
<attDef ident="occurs" usage="opt">
<desc xml:lang="en">Number of occurrences in the defined context.</desc>
<datatype>
<rng:data type="nonNegativeInteger"/>
</datatype>
</attDef>
<attDef ident="withid" usage="opt">
<desc xml:lang="en">Number of occurrences in the defined context that have an
<att>xml:id</att>
attribute.</desc>
<datatype>
<rng:data type="nonNegativeInteger"/>
</datatype>
</attDef>
</attList>
<remarks xml:lang="en">
<p>The model of this element is based on the <ref target="https://tei-c.org/release/doc/tei-p5-doc/en/html/ref-tagUsage.html">tagUsage</ref> element of the Text Encoding Initiative (TEI).</p>
</remarks>
</elementSpec>