l10n.dtd 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!ENTITY % prefix "l">
  2. <!ENTITY % xmlns "xmlns:%prefix;">
  3. <!ENTITY % uri "'http://docbook.sourceforge.net/xmlns/l10n/1.0'">
  4. <!ENTITY % i18n "%prefix;:i18n">
  5. <!ENTITY % l10n "%prefix;:l10n">
  6. <!ENTITY % gentext "%prefix;:gentext">
  7. <!ENTITY % dingbat "%prefix;:dingbat">
  8. <!ENTITY % context "%prefix;:context">
  9. <!ENTITY % template "%prefix;:template">
  10. <!ENTITY % letters "%prefix;:letters">
  11. <!ENTITY % l "%prefix;:l">
  12. <!ENTITY % lang "lang NMTOKEN #IMPLIED">
  13. <!ELEMENT %i18n; ((%l10n;)+)>
  14. <!ATTLIST %i18n;
  15. %xmlns; CDATA #FIXED %uri;
  16. >
  17. <!ELEMENT %l10n; (%gentext;|%dingbat;|%context;|%letters;)*>
  18. <!ATTLIST %l10n;
  19. %xmlns; CDATA #FIXED %uri;
  20. language CDATA #REQUIRED
  21. english-language-name CDATA #IMPLIED
  22. >
  23. <!ELEMENT %gentext; EMPTY>
  24. <!ATTLIST %gentext;
  25. %lang;
  26. key CDATA #REQUIRED
  27. text CDATA #REQUIRED
  28. >
  29. <!ELEMENT %dingbat; EMPTY>
  30. <!ATTLIST %dingbat;
  31. %lang;
  32. key CDATA #REQUIRED
  33. text CDATA #REQUIRED
  34. >
  35. <!ELEMENT %context; ((%template;)+)>
  36. <!ATTLIST %context;
  37. name CDATA #REQUIRED
  38. >
  39. <!ELEMENT %template; EMPTY>
  40. <!ATTLIST %template;
  41. %lang;
  42. name CDATA #REQUIRED
  43. text CDATA #REQUIRED
  44. style CDATA #IMPLIED
  45. >
  46. <!ELEMENT %letters; ((%l;)+)>
  47. <!ATTLIST %letters;
  48. %lang;
  49. >
  50. <!ELEMENT %l; (#PCDATA)>
  51. <!ATTLIST %l;
  52. i CDATA #REQUIRED
  53. >