I've just been working on the DTD for Instruments.xml
So far it's looking like this:-
<?xml version="1.0" encoding="UTF-8"?>
<!doctype instruments [
<!ELEMENT InstrumentGroup (Instrument+)>
<!ATTLIST InstrumentGroup id ID "instrument-group">
<!ELEMENT Instrument
(longName,shortName,description,musicXMLid?,extended?,staves?,stafftype?,Tablature?,clef+,bracket?,bracketSpan?,barlineSpan?,aPitchRange,pPitchRange,Channel*)>
<!ATTLIST Instrument id ID "instrument-id">
<!ELEMENT longName (#PCDATA)>
<!ELEMENT shortName (#PCDATA)>
<!ELEMENT description (#PCDATA)>
<!ELEMENT musicXMLid (#PCDATA)>
<!ELEMENT extended (#PCDATA)>
<!ELEMENT staves (#PCDATA)>
<!ELEMENT stafftype (#PCDATA)>
<!ATTLIST stafftype staffTypePreset CDATA #REQUIRED>
<!ELEMENT Tablature (frets,string+)>
<!ELEMENT frets (#PCDATA)>
<!ELEMENT string (#PCDATA)>
<!ELEMENT clef (#PCDATA)>
<!ATTLIST clef staff CDATA #IMPLIED>
<!ELEMENT bracket (#PCDATA)>
<!ELEMENT bracketspan (#PCDATA)>
<!ELEMENT barlinespan (#PCDATA)>
<!ELEMENT aPitchRange (#PCDATA)>
<!ELEMENT pPitchrange (#PCDATA)>
<!ELEMENT Channel (controller*,program)>
]>
The Drumset stuff is not in yet, but can anyone spot anything else I've
missed? Apart from the controller and program defs that is.
-----
Regards
Michael
--
View this message in context:
http://dev-list.musescore.org/Instruments-xml-DTD-tp7578054.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer