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

Complex Type: work

Description

Works are optionally identified by number and title. The work type also may indicate a link to the opus document that composes multiple scores into a collection.

Derived By

Restricting xs:anyType

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Default  Description 
  1..1 
work-number  xs:string  0..1  The work-number element specifies the number of a work, such as its opus number.
work-title  xs:string  0..1  The work-title element specifies the title of a work, not including its opus or other work number.
opus  opus  0..1  The opus type represents a link to a MusicXML opus document that composes multiple MusicXML scores into a collection.
Referenced By
Definition
<xs:complexType name="work">
  <xs:annotation>
    <xs:documentation>Works are optionally identified by number and title. The work type also may indicate a link to the opus document that composes multiple scores into a collection.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="work-number" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The work-number element specifies the number of a work, such as its opus number.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="work-title" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The work-title element specifies the title of a work, not including its opus or other work number.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="opus" type="opus" minOccurs="0">
      <xsd:annotation>
        <xsd:documentation>The opus type represents a link to a MusicXML opus document that composes multiple MusicXML scores into a collection.</xsd:documentation>
      </xsd:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301