MusicXML 4.0 > MusicXML reference > Data types > yes-no-number
The yes-no-number type is used for attributes that can be either boolean or numeric values.
<sound> — "damper-pedal" attribute
<sound> — "soft-pedal" attribute
<sound> — "sostenuto-pedal" attribute