<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. Value is plain text.
@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: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) 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. 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 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.
@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.
@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: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
(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
(MEI.shared) Groups non-text components that represent the content of the musical text.
(MEI.shared) Groups elements that may appear as part of the music element.
<body>Contains the whole of a single musical text, excluding any front or back matter.
<body>Contains the whole of a single musical text, excluding any front or back matter.
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 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>