grouping

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.

Complex Type Information

Model

Children: feature

Attributes

QName Type Fixed Default Use Inheritable Annotation
member-of xs:token optional
number xs:token 1 optional
type start-stop-single required

Used By

Source

<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"/>
  </xs:sequence>
  <xs:attribute name="type" type="start-stop-single" use="required"/>
  <xs:attribute name="number" type="xs:token" default="1"/>
  <xs:attribute name="member-of" type="xs:token"/>
</xs:complexType>