Showing:

Annotations
Attributes
Diagrams
Properties
Source
Used by
Element key/key-octave
Namespace No namespace
Annotations
The optional list of key-octave elements is used to specify in which octave each element of the key signature appears.
Diagram
Diagram musicxml37.tmp#id80 musicxml100.tmp#id282 musicxml100.tmp#id283 musicxml100.tmp#id281
Type key-octave
Type hierarchy
Properties
content: complex
minOccurs: 0
maxOccurs: unbounded
Attributes
QName Type Fixed Default Use Annotation
cancel yes-no optional
number xs:positiveInteger required
Source
<xs:element name="key-octave" type="key-octave" minOccurs="0" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>The optional list of key-octave elements is used to specify in which octave each element of the key signature appears.</xs:documentation>
  </xs:annotation>
</xs:element>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Complex Type key
Namespace No namespace
Annotations
The key type represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.
Diagram
Diagram musicxml241.tmp#id284 musicxml6.tmp#id142 musicxml4.tmp#id138 musicxml124.tmp#id272 musicxml124.tmp#id275 musicxml124.tmp#id276 musicxml124.tmp#id271 musicxml242.tmp#id278 musicxml242.tmp#id279 musicxml242.tmp#id277 musicxml241.tmp#id280
Used by
Element attributes/key
Model ((cancel{0,1} , fifths , mode{0,1}) | (key-step , key-alter)) , key-octave*
Children cancel, fifths, key-alter, key-octave, key-step, mode
Attributes
QName Type Fixed Default Use Annotation
color color optional
default-x tenths optional
default-y tenths optional
font-family comma-separated-text optional
font-size font-size optional
font-style font-style optional
font-weight font-weight optional
number staff-number optional
print-object yes-no optional
relative-x tenths optional
relative-y tenths optional
Source
<xs:complexType name="key">
  <xs:annotation>
    <xs:documentation>The key type represents a key signature. Both traditional and non-traditional key signatures are supported. The optional number attribute refers to staff numbers. If absent, the key signature applies to all staves in the part.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:choice>
      <xs:group ref="traditional-key"/>
      <xs:group ref="non-traditional-key" minOccurs="0" maxOccurs="unbounded"/>
    </xs:choice>
    <xs:element name="key-octave" type="key-octave" minOccurs="0" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>The optional list of key-octave elements is used to specify in which octave each element of the key signature appears.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
  <xs:attribute name="number" type="staff-number"/>
  <xs:attributeGroup ref="print-style"/>
  <xs:attributeGroup ref="print-object"/>
</xs:complexType>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd
Attribute key/@number
Namespace No namespace
Type staff-number
Properties
content: simple
Used by
Complex Type key
Source
<xs:attribute name="number" type="staff-number"/>
Schema location file:/C:/Users/mihai/Desktop/MusicXML-Schema/musicxml.xsd