packages feed

hamusic-0.1.1: src/Script.dtd

<!DOCTYPE script SYSTEM "Script.dtd" [
    
    <!-- 
    This is my DTD to Abstract Music Combinators/Commands
    -->

    <!ELEMENT script (action*)>
    <!ATTLIST script 
        author CDATA #IMPLIED
        date CDATA #IMPLIED
        description CDATA #IMPLIED>

    <!ELEMENT action ((filter | reification | stat | 
        parttime | timepart | haskore | midi)*)>
    <!ATTLIST action 
        input CDATA #REQUIRED
        output CDATA #IMPLIED
        warnings (yes | no) #IMPLIED>

    <!-- use stat instead -->
    <!--
    <!ELEMENT length EMPTY>
    <!ATTLIST length 
        select (part | measure ) #REQUIRED
        mode (simple | map | concat) #IMPLIED>
        -->

    <!ELEMENT filter EMPTY>
    <!ATTLIST filter 
        select (note | note-grace | note-cue | note-normal) #REQUIRED
        mode (yes | no) #IMPLIED>

    <!ELEMENT reification EMPTY>
    <!ATTLIST reification 
        value (1 | 2 | 3 | 4 | 5) #REQUIRED>

    <!ELEMENT stat (count*)>
    <!ATTLIST stat 
        verbose (yes | no) #IMPLIED>

    <!ELEMENT count EMPTY>
    <!ATTLIST count 
        select (part | measure | music-data | note | 
                note-grace | note-cue | note-normal) #REQUIRED>

    <!ELEMENT parttime EMPTY>
    <!ELEMENT timepart EMPTY>
    <!ELEMENT haskore EMPTY>

    <!ELEMENT midi EMPTY>
    <!ATTLIST midi 
        play (yes | no) #IMPLIED>
]>