MusicXML™ W3C XML schema (XSD) Version 2.0 XSD - 28 August 2008 Copyright © 2004-2008 Recordare LLC. http://www.recordare.com/ This MusicXML™ work is being provided by the copyright holder under the MusicXML Document Type Definition Public License Version 2.0, available from: http://www.recordare.com/dtds/license.html This is the W3C XML Schema (XSD) version of the MusicXML 2.0 language. Validation is tightened by moving MusicXML definitions from comments into schema data types and definitions. Character entities and other entity usages that are not supported in W3C XML Schema have been removed. The features of W3C XML Schema make it easier to define variations of the MusicXML format, either via extension or restriction. This file defines the MusicXML 2.0 XSD, including the score-partwise and score-timewise document elements. |
The MusicXML 2.0 DTD has no namespace, so for compatibility the MusicXML 2.0 XSD has no namespace either. Those who need to import the MusicXML XSD into another schema are advised to create a new version that uses "http://www.musicxml.org/xsd/MusicXML" as the namespace. |
The score is the root element for the schema. It includes the score-header group, followed either by a series of parts with measures inside (score-partwise) or a series of measures with parts inside (score-timewise). Having distinct top-level elements for partwise and timewise scores makes it easy to ensure that an XSLT stylesheet does not try to transform a document already in the desired format. |