You are here: MusicXML Reference > Score Schema (XSD) > Complex Types > Complex Type: instrument

Complex Type: instrument

Description

The instrument type distinguishes between score-instrument elements in a score-part. The id attribute is an IDREF back to the score-instrument ID. If multiple score-instruments are specified on a score-part, there should be an instrument element for each note in the part.

Derived By

Restricting xs:anyType

Attributes
Name  Type  Required?  Default  Description 
id  xs:IDREF  Yes 
Referenced By
Definition
<xs:complexType name="instrument">
  <xs:annotation>
    <xs:documentation>The instrument type distinguishes between score-instrument elements in a score-part. The id attribute is an IDREF back to the score-instrument ID. If multiple score-instruments are specified on a score-part, there should be an instrument element for each note in the part.</xs:documentation>
  </xs:annotation>
  <xs:attribute name="id" type="xs:IDREF" use="required">
    <xsd:annotation>
      <xsd:documentation>
      </xsd:documentation>
    </xsd:annotation>
  </xs:attribute>
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301