toolboxes.dtd 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!ELEMENT toolboxes (toolbox*)>
  2. <!ELEMENT toolbox (label, items)>
  3. <!ATTLIST toolbox name NMTOKEN #REQUIRED>
  4. <!ELEMENT items ((module-item | wxgui-item | subtoolbox | separator)*)>
  5. <!-- Subelement label is mandatory, however this may change in the future. -->
  6. <!ELEMENT module-item (label, module?, description?, keywords?)>
  7. <!ATTLIST module-item name NMTOKEN #REQUIRED>
  8. <!ELEMENT wxgui-item (label?, ((handler, related-module?) | command)?, description?, keywords?, shortcut?, wx-id?)>
  9. <!ATTLIST wxgui-item name NMTOKEN #REQUIRED>
  10. <!--
  11. Element subtoolbox could use xlink syntax but it is not much supported,
  12. so it would be useless. Used syntax is easier and more conforms to other
  13. elements which are not typical candidates for xlink use.
  14. -->
  15. <!ELEMENT subtoolbox EMPTY>
  16. <!ATTLIST subtoolbox name NMTOKEN #REQUIRED>
  17. <!ELEMENT separator EMPTY>
  18. <!ELEMENT label (#PCDATA)>
  19. <!ELEMENT description (#PCDATA)>
  20. <!ELEMENT handler (#PCDATA)>
  21. <!ELEMENT command (#PCDATA)>
  22. <!ELEMENT module (#PCDATA)>
  23. <!ELEMENT related-module (#PCDATA)>
  24. <!ELEMENT keywords (#PCDATA)>
  25. <!ELEMENT shortcut (#PCDATA)>
  26. <!ELEMENT wx-id (#PCDATA)>