l10n.dtd 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. href CDATA #IMPLIED
  23. >
  24. <!ELEMENT %gentext; EMPTY>
  25. <!ATTLIST %gentext;
  26. %lang;
  27. key CDATA #REQUIRED
  28. text CDATA #REQUIRED
  29. >
  30. <!ELEMENT %dingbat; EMPTY>
  31. <!ATTLIST %dingbat;
  32. %lang;
  33. key CDATA #REQUIRED
  34. text CDATA #REQUIRED
  35. >
  36. <!ELEMENT %context; ((%template;)+)>
  37. <!ATTLIST %context;
  38. name CDATA #REQUIRED
  39. >
  40. <!ELEMENT %template; EMPTY>
  41. <!ATTLIST %template;
  42. %lang;
  43. name CDATA #REQUIRED
  44. text CDATA #REQUIRED
  45. style CDATA #IMPLIED
  46. >
  47. <!ELEMENT %letters; ((%l;)+)>
  48. <!ATTLIST %letters;
  49. %lang;
  50. >
  51. <!ELEMENT %l; (#PCDATA)>
  52. <!ATTLIST %l;
  53. i CDATA #REQUIRED
  54. >