The <attributes> element
Parent elements: <measure> (partwise)<part> (timewise)
The attributes element contains musical information that typically changes on measure boundaries. This includes key and time signatures, clefs, transpositions, and staving. When attributes are changed mid-measure, it affects the music in score order, not in MusicXML document order.
Content
In this order- In this order
- <footnote> (Required)
- <level> (Required)
- <divisions> (Optional)
- <key> (Zero or more times)
- <time> (Zero or more times)
- <staves> (Optional)
- <part-symbol> (Optional)
- <instruments> (Optional)
- <clef> (Zero or more times)
- <staff-details> (Zero or more times)
- Exactly one of the following
- <directive> (Zero or more times)
- <measure-style> (Zero or more times)
Attributes
None.
Examples
This element is used in the following examples:
<assess> and <player><attributes><barline><beat-repeat><cancel><concert-score> and <for-part><divisions> and <duration><double><except-voice><instrument-change><line-detail><measure-distance><measure-repeat><multiple-rest><part-symbol><pedal> (Lines)<score-timewise><slash><staff-type><staves><transpose><unpitched>Tutorial: Après un rêveTutorial: Chopin PreludeTutorial: Chord SymbolsTutorial: Hello, WorldTutorial: PercussionTutorial: Tablature