gconf-1.0.dtd 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!-- Top-level element -->
  2. <!ELEMENT gconfschemafile (schemalist)>
  3. <!-- A list of schemas -->
  4. <!ELEMENT schemalist (schema)*>
  5. <!-- A single schema. What I am trying to say is "this set of
  6. elements, in any order". Duplicate elements (apart from <locale>) are
  7. not allowed). -->
  8. <!ELEMENT schema (key|applyto*|owner?|type|(list_type|(car_type,cdr_type))?|default?|locale*)*>
  9. <!-- The key for this schema (e.g. /schemas/apps/foo/bar) -->
  10. <!ELEMENT key (#PCDATA)>
  11. <!-- The keys to apply this schema too (e.g. /apps/foo/bar) -->
  12. <!ELEMENT applyto (#PCDATA)>
  13. <!-- The name of the owner of these keys (e.g. foo) -->
  14. <!ELEMENT owner (#PCDATA)>
  15. <!-- The type of this schema (string|int|float|bool|list|pair)-->
  16. <!ELEMENT type (#PCDATA)>
  17. <!-- If <type> is a list, then this is the type of the members -->
  18. <!ELEMENT list_type (#PCDATA)>
  19. <!-- If <type> is a pair, then this is the type of the car (first element) -->
  20. <!ELEMENT car_type (#PCDATA)>
  21. <!-- If <type> is a pair, then this is the type of the cdr (second element) -->
  22. <!ELEMENT cdr_type (#PCDATA)>
  23. <!-- The default value for the key -->
  24. <!ELEMENT default (#PCDATA)>
  25. <!-- Localised default value, short description and long description -->
  26. <!ELEMENT locale (default?,short?,long?)>
  27. <!ATTLIST locale name CDATA #REQUIRED>
  28. <!-- Short summary of the key -->
  29. <!ELEMENT short (#PCDATA)>
  30. <!-- Long description of the key -->
  31. <!ELEMENT long (#PCDATA)>