<!-- DTD for Command to Key mapping files-->

<!ELEMENT shift EMPTY>  <!-- Shift key is down -->
<!ELEMENT cmdkey EMPTY> <!-- Cmd key is down -->
<!ELEMENT alt EMPTY>    <!-- Alt key is down -->
<!ELEMENT hold EMPTY>   <!-- this is a keyhold duration only command -->

<!ELEMENT cmd (#PCDATA)>  <!-- the symbolic name of the command (from the cmddict) -->

<!ELEMENT uchar (#PCDATA)>  <!-- a unicode keystroke; is a singley UTF16 character -->

<!ELEMENT key (#PCDATA)>    <!-- an XPKey definition; see the kKeyControCode_* entities -->
<!ELEMENT mod (shift | cmdkey | alt | hold)*>  <!-- a modifier block -->

<!ELEMENT cnt (#PCDATA)>   <!-- key click count -->
<!ELEMENT ctx (#PCDATA)>   <!-- a command context -->


<!ELEMENT keycmd (cmd, (key | uchar), mod*, cnt*, ctx*)>

<!ELEMENT keymap (keycmd*)>



