<!--
	MusicXML™ Partwise DTD

	Version 2.0 - 18 June 2007
	
	Copyright © 2004-2007 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
-->

<!--
	The MusicXML format is designed to represent musical scores,
	specifically common western musical notation from the 17th
	century onwards. It is designed as an interchange format
	for notation, analysis, retrieval, and performance
	applications. Therefore it is intended to be sufficient,
	not optimal, for these applications.
	
	The MusicXML format is based on the MuseData and Humdrum
	formats. Humdrum explicitly represents the two-dimensional
	nature of musical scores by a 2-D layout notation. Since the
	XML format is hierarchical, we cannot do this explicitly.
	Instead, there are two top-level formats:
	
	partwise.dtd   Represents scores by part/instrument
	timewise.dtd   Represents scores by time/measure
	
	Thus partwise.dtd contains measures within each part,
	while timewise.dtd contains parts within each measure.
	XSLT stylesheets are provided to convert between the
	two formats.
	
	The partwise and timewise score DTDs represent a single 
	movement of music. Multiple movements or other musical 
	collections are presented using opus.dtd. An opus
	document contains XLinks to individual scores.
	
	Suggested use:
	
	<!DOCTYPE score-partwise PUBLIC
		"-//Recordare//DTD MusicXML 2.0 Partwise//EN"
		"http://www.musicxml.org/dtds/partwise.dtd">
	
	This DTD is made up of a series of component DTD modules,
	all of which are included here.
-->

<!-- Entities -->

<!--
	The partwise and timewise entities are used with
	conditional sections to control the differences between
	the partwise and timewise DTDs. The values for these
	entities are what distinguish the partwise and timewise
	DTD files.
--> 
<!ENTITY % partwise "INCLUDE">
<!ENTITY % timewise "IGNORE">

<!-- Component DTD modules -->

<!--
	The common DTD module contains the entities and elements
	that are shared among multiple component DTDs.
-->
<!ENTITY % common PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Common//EN"
	"common.mod">
%common;

<!--
	The layout DTD module contains formatting information for
	pages, systems, staves, and measures.
-->
<!ENTITY % layout PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Layout//EN"
	"layout.mod">
%layout;

<!-- 
	The identity DTD module contains identification and
	metadata elements.
-->
<!ENTITY % identity PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Identity//EN"
	"identity.mod">
%identity;

<!--
	The attributes DTD module contains elements that usually
	change at the start of a measure, such as key signatures,
	time signatures, and clefs.
-->
<!ENTITY % attributes PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Attributes//EN"
	"attributes.mod">
%attributes;

<!--
	The link DTD module contains XLink attributes.
-->
<!ENTITY % link PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Link//EN"
	"link.mod">
%link;

<!--
	The note DTD module contains the bulk of the elements
	and attributes for a musical scores relating to individual
	notes and rests.
 -->
<!ENTITY % note PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Note//EN"
	"note.mod">
%note;

<!--
	The barline DTD module contains elements regarding
	barline style, repeats, and multiple endings.
-->
<!ENTITY % barline PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Barline//EN"
	"barline.mod">
%barline;

<!-- 
	The direction DTD module contains elements for musical
	directions not tied to individual notes. This includes
	harmony and chord symbol elements.
-->
<!ENTITY % direction PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Direction//EN"
	"direction.mod">
%direction;

<!--
	The score DTD module contains the top-level elements for
	musical scores, including the root document elements.
-->
<!ENTITY % score PUBLIC
	"-//Recordare//ELEMENTS MusicXML 2.0 Score//EN"
	"score.mod">
%score;
