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

The <staff> element

Parent elements: <direction><forward><harmony><note>

staff

Staff assignment is only needed for music notated on multiple staves. Used by both notes and directions. Staff values are numbers, with 1 referring to the top-most staff in a part.

Content

xs:positiveInteger

Attributes

None.

Examples

This element is used in the following examples:

<arpeggiate><backup><forward><glissando> (Multiple)<glissando> (Single)<non-arpeggiate><pedal> (Lines)<pedal> (Symbols)<pitched><staff><tremolo> (Double)system attribute (also-top)Tutorial: Après un rêveTutorial: Chopin Prelude