mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 03:04:00 +00:00
150 lines
4.0 KiB
DTD
Executable File
150 lines
4.0 KiB
DTD
Executable File
<!--
|
|
MusicXML Partwise DTD
|
|
|
|
Version 1.1 - 20 May 2005
|
|
|
|
Copyright © 2004-2005 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 1.02, available from:
|
|
|
|
http://www.recordare.com/dtds/license.html
|
|
-->
|
|
|
|
<!--
|
|
MusicXML 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.
|
|
|
|
MusicXML 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 XML
|
|
is a hierarchical format, 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 1.1 Partwise//EN"
|
|
"http://www.musicxml.org/dtds/partwise.dtd">
|
|
|
|
This DTD is made up of a series of component DTDs, 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 DTDs -->
|
|
|
|
<!--
|
|
The common DTD contains the entities and elements that
|
|
are shared among multiple component DTDs.
|
|
-->
|
|
<!ENTITY % common PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Common//EN"
|
|
"common.dtd">
|
|
%common;
|
|
|
|
<!--
|
|
The layout DTD contains formatting information for
|
|
pages, systems, staves, and measures.
|
|
-->
|
|
<!ENTITY % layout PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Layout//EN"
|
|
"layout.dtd">
|
|
%layout;
|
|
|
|
<!--
|
|
The identity DTD contains identification and metadata
|
|
elements.
|
|
-->
|
|
<!ENTITY % identity PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Identity//EN"
|
|
"identity.dtd">
|
|
%identity;
|
|
|
|
<!--
|
|
The attributes DTD includes elements that usually
|
|
change at the start of a measure, such as key
|
|
signatures, time signatures, and clefs.
|
|
-->
|
|
<!ENTITY % attributes PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Attributes//EN"
|
|
"attributes.dtd">
|
|
%attributes;
|
|
|
|
<!--
|
|
The link DTD contains XLink attributes.
|
|
-->
|
|
<!ENTITY % link PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Link//EN"
|
|
"link.dtd">
|
|
%link;
|
|
|
|
<!--
|
|
The note DTD contains the bulk of the elements and
|
|
attributes for a musical scores relating to individual
|
|
notes and rests.
|
|
-->
|
|
<!ENTITY % note PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Note//EN"
|
|
"note.dtd">
|
|
%note;
|
|
|
|
<!--
|
|
The barline DTD contains elements regarding
|
|
barline style, repeats, and multiple endings.
|
|
-->
|
|
<!ENTITY % barline PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Barline//EN"
|
|
"barline.dtd">
|
|
%barline;
|
|
|
|
<!--
|
|
The direction DTD contains elements for musical
|
|
directions not tied to individual notes. This
|
|
includes harmony and chord symbol elements.
|
|
-->
|
|
<!ENTITY % direction PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Direction//EN"
|
|
"direction.dtd">
|
|
%direction;
|
|
|
|
<!--
|
|
The score DTD contains the top-level elements
|
|
for musical scores, including the root document
|
|
elements.
|
|
-->
|
|
<!ENTITY % score PUBLIC
|
|
"-//Recordare//ELEMENTS MusicXML 1.1 Score//EN"
|
|
"score.dtd">
|
|
%score;
|