Description
The grouping type is used for musical analysis. When the type attribute is "start" or "single", it usually contains one or more feature elements. Feature elements contained within a "stop" type of grouping may be ignored. This element is flexible to allow for different types of analyses. Future versions of the MusicXML format may add elements that can represent more standardized categories of analysis data, allowing for easier data sharing.
Derived By
Restricting xs:anyType
Attributes
Name |
Type |
Required? |
Default |
Description |
type |
start-stop-single |
Yes |
|
|
number |
xs:token |
No |
1 |
The number attribute is used for distinguishing between overlapping and hierarchical groupings.
|
member-of |
xs:token |
No |
|
The member-of attribute allows for easy distinguishing of what grouping elements are in what hierarchy.
|
Content Model
Contains elements as defined in the following table.
Component |
Type |
Occurs |
Default |
Description |
|
|
1..1 |
|
|
feature |
feature |
0..* |
|
The feature type is a part of the grouping element used for musical analysis. The type attribute represents the type of the feature and the element content represents its value. This type is flexible to allow for different analyses.
|
|
|
|
|
|
Referenced By
Definition
<xs:complexType name="grouping">
<xs:annotation>
<xs:documentation>The grouping type is used for musical analysis. When the type attribute is "start" or "single", it usually contains one or more feature elements. The number attribute is used for distinguishing between overlapping and hierarchical groupings. The member-of attribute allows for easy distinguishing of what grouping elements are in what hierarchy. Feature elements contained within a "stop" type of grouping may be ignored.
This element is flexible to allow for different types of analyses. Future versions of the MusicXML format may add elements that can represent more standardized categories of analysis data, allowing for easier data sharing.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="feature" type="feature" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>The feature type is a part of the grouping element used for musical analysis. The type attribute represents the type of the feature and the element content represents its value. This type is flexible to allow for different analyses.</xsd:documentation>
</xsd:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="type" type="start-stop-single" use="required">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
<xs:attribute name="number" type="xs:token" default="1">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
<xs:attribute name="member-of" type="xs:token">
<xsd:annotation>
<xsd:documentation>
</xsd:documentation>
</xsd:annotation>
</xs:attribute>
</xs:complexType>