MusicXML 4.1 Draft
MusicXML 4.1 Draft > MusicXML Reference > Elements > The <staves> element

The <staves> element

Parent element: <attributes>

The staves element is used if there is more than one staff represented in the given part (e.g., 2 staves for typical piano parts). If absent, a value of 1 is assumed. Staves are ordered from top to bottom in a part in numerical order, with staff 1 above staff 2.

Content

xs:nonNegativeInteger

Attributes

None.

Examples

This element is used in the following examples:

<part-symbol><pedal> (Lines)<staff-type><staves>Tutorial: Après un rêveTutorial: Chopin Prelude