MusicXML 4.1 Draft
< >elements
@attributes
MusicXML 4.1 Draft>Elements>The <staff-details> element

The <staff-details> element

Parent element: <attributes>

The <staff-details> element is used to indicate different types of staves.

Content

In this order

Attributes

NameTypeRequired?(Default)Description
numberstaff-numberNoSpecifies the staff number from top to bottom within the part. The value is 1 if not present.
Specifies the staff number from top to bottom within the part. The value is 1 if not present.
print-objectyes-noNoSpecifies whether or not to print an object. It is yes if not specified.

Other attributes such as print-dot, print-leger, print-lyric, can be used to override the printing of the object’s corresponding details. In addition, print-XXXX attributes act hierarchically, where lower-level declarations override higher-level ones in the document structure.

Specifies whether or not to print an object. It is yes if not specified.

Other attributes such as print-dot, print-leger, print-lyric, can be used to override the printing of the object’s corresponding details. In addition, print-XXXX attributes act hierarchically, where lower-level declarations override higher-level ones in the document structure.

print-spacingyes-noNoControls whether or not spacing is left for an invisible note or object. It is used only if no note, dot, or lyric is being printed. The value is yes (leave spacing) if not specified.
Controls whether or not spacing is left for an invisible note or object. It is used only if no note, dot, or lyric is being printed. The value is yes (leave spacing) if not specified.
show-fretsshow-fretsNoIndicates whether to show tablature frets as numbers (0, 1, 2) or letters (a, b, c). It is numbers if not specified.
Indicates whether to show tablature frets as numbers (0, 1, 2) or letters (a, b, c). It is numbers if not specified.

Examples

This element is used in the following examples:

<capo><line-detail><staff-lines><staff-size><staff-tuning><staff-type>Tutorial: PercussionTutorial: Tablature