<music>

Contains a single musical text of any kind, whether unitary or composite, for example, an etude, opera, song cycle, symphony, or anthology of piano solos.
Module
Attributes
@label, @type, @xml:id
@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.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels.
@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.
(MEI.shared) Attributes common to many elements.
(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.
(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.
(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.
@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.
@type(optional)Designation which characterizes the element in some sense, using any convenient classification scheme or typology that employs single-token labels.
@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.
Member of
(music isn't member of any model class)
Contained By
<mei>Contains a single MEI-conformant document, consisting of an MEI header and a musical text, either in isolation or as part of an meiCorpus element.
<mei>Contains a single MEI-conformant document, consisting of an MEI header and a musical text, either in isolation or as part of an meiCorpus element.
May Contain
– (<music> may not have child elements)
Constraints

An element with @tstamp may not have @startid as well (and vice versa).
An element with @tstamp2 may not have @endid as well (and vice versa).

Declaration
<elementSpec xmlns="http://www.tei-c.org/ns/1.0" rend="add" ident="music" module="MEI.shared">
<desc rend="replace">Contains a single musical text of any kind, whether unitary or composite, for example, an etude, opera, song cycle, symphony, or anthology of piano solos.</desc>
<classes>
<memberOf key="att.common"/>
</classes>
<content>
<zeroOrMore>
<ref name="model.resourceLike"/>
</zeroOrMore>
<ref name="macro.musicPart"/>
</content>
<constraintSpec ident="check_controlEventLinking" scheme="schematron">
<constraint>
<sch:rule context="mei:*[@tstamp]">
<sch:assert test="not(@startid)">An element with @tstamp may not have @startid as well (and vice versa).</sch:assert>
</sch:rule>
<sch:rule context="mei:*[@tstamp2]">
<sch:assert test="not(@endid)">An element with @tstamp2 may not have @endid as well (and vice versa).</sch:assert>
</sch:rule>
</constraint>
</constraintSpec>
</elementSpec>