You are here: MusicXML XSD Schema Reference

MusicXML XSD Schema Reference

The MusicXML™ W3C XML Schema Definition (XSD) provides a stricter definition of the MusicXML 3.0 format than does the MusicXML Document Type Definition (DTD). MusicXML semantics that were previously only captured in the documentation are now enforced during schema validation.

The XSD will improve the experience of MusicXML users by making MusicXML software more reliable. It also makes MusicXML easier to use with the latest XML technologies, including XQuery, XML databases, and XML code generators.

The MusicXML XSD is divided into several files, as arranged here. The MusicXML file is the main file for partwise and timewise scores. The opus file represents collections of works. The xlink and xml files represent elements in the XLink and XML namespaces, respectively.

Also included here is version 1.0 of the piano/vocal/guitar (PVG) profile and container XSDs for the Open Score Format. Open Score Format profiles are designed to make it easier to use MusicXML in applications that are restricted to a particular musical repertoire or feature set. This profile removes MusicXML features that are not found in PVG repertoire, and add a few features for PVG repertoire that are not in the original MusicXML 2.0 XSD. The container XSD is a schema version of the MusicXML 2.0 container file.

You can download all the MusicXML XSDs and DTDs as a single zip file here.

The MusicXML schemas are distributed under the MusicXML Public License 3.0.

These definitions do not contain a new version of the MIDI file DTD. Please see the MusicXML 3.0 DTD index for the link to that file.


MusicXML Documentation Home
Last built 2/20/2015

7007 Winchester Circle, Suite 140

Boulder, CO 80301