You are here: MusicXML Reference > Opus Schema (XSD) > Complex Types > Complex Type: opus

Complex Type: opus

Description

The opus type is used for the root element of a MusicXML opus. Each opus is made up of a series of score, opus-link, and/or nested opus elements. The document-attributes attribute group includes the version attribute. Future versions may include more metadata elements. In this version, we just include the title of the opus.

Derived By

Restricting xs:anyType

Attributes
Name  Type  Required?  Default  Description 
version  xs:token  No  1.0 
Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Default  Description 
  1..1 
title  xs:string  0..1  The title element specifies the title of an opus document.
  0..* 
opus  opus  1..1 
opus-link  opus-link  1..1 
score  score  1..1 
Referenced By
Definition
<xs:complexType name="opus">
  <xs:annotation>
    <xs:documentation>The opus type is used for the root element of a MusicXML opus. Each opus is made up of a series of score, opus-link, and/or nested opus elements. The document-attributes attribute group includes the version attribute. Future versions may include more metadata elements. In this version, we just include the title of the opus.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="title" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>The title element specifies the title of an opus document.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:choice minOccurs="0" maxOccurs="unbounded">
      <xs:element name="opus" type="opus" />
      <xs:element name="opus-link" type="opus-link" />
      <xs:element name="score" type="score" />
    </xs:choice>
  </xs:sequence>
  <xs:attributeGroup ref="document-attributes" />
</xs:complexType>

 

MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301