You are here: MusicXML Reference > Score Schema (XSD) > Simple Types > Simple Type: yes-no

Simple Type: yes-no

Description

The yes-no type is used for boolean-like attributes. We cannot use W3C XML Schema booleans due to their restrictions on expression of boolean values.

Derived By

Restricting xs:token

Enumeration
Value  Description 
yes 
no 
Referenced By
Definition
<xs:simpleType name="yes-no">
  <xs:annotation>
    <xs:documentation>The yes-no type is used for boolean-like attributes. We cannot use W3C XML Schema booleans due to their restrictions on expression of boolean values.</xs:documentation>
  </xs:annotation>
  <xs:restriction base="xs:token">
    <xs:enumeration value="yes" />
    <xs:enumeration value="no" />
  </xs:restriction>
</xs:simpleType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301