lw-map.dtd 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <!-- ============================================================= -->
  2. <!-- HEADER -->
  3. <!-- ============================================================= -->
  4. <!-- MODULE: Lightweight DITA Map -->
  5. <!-- VERSION: 1.0 -->
  6. <!-- DATE: XXX -->
  7. <!-- -->
  8. <!-- ============================================================= -->
  9. <!-- ============================================================= -->
  10. <!-- PUBLIC DOCUMENT TYPE DEFINITION -->
  11. <!-- TYPICAL INVOCATION -->
  12. <!-- -->
  13. <!-- Refer to this file by the following public identifier or an
  14. appropriate system identifier:
  15. PUBLIC "-//OASIS//DTD LIGHTWEIGHT DITA Map//EN"
  16. Delivered as file "lw-map.dtd" -->
  17. <!-- ============================================================= -->
  18. <!-- SYSTEM: Lightweight DITA -->
  19. <!-- -->
  20. <!-- PURPOSE: DTD to describe Lightweight DITA map -->
  21. <!-- -->
  22. <!-- ORIGINAL CREATION DATE: -->
  23. <!-- XXXX -->
  24. <!-- -->
  25. <!-- (C) OASIS -->
  26. <!-- All Rights Reserved. -->
  27. <!-- -->
  28. <!-- UPDATES: -->
  29. <!-- 25 Nov 2014 KJE: Upload files to DITA TC SVN repo -->
  30. <!-- 16 May 2016 MG: Upload files to GitHub repo -->
  31. <!-- 11 Jun 2017 KJE: Added headers and update logs -->
  32. <!-- 14 Jun 2017 RDA: Add mapgroup to domains attribute -->
  33. <!-- 20 Jun 2017 CE: Replaced domain from hi-d to topic hi-d -->
  34. <!-- 20 Jun 2017 CE: Added prefix lw- to filename -->
  35. <!-- 25 Jul 2017 CE: Changed public identifier to LIGHTWEIGHT -->
  36. <!-- DITA -->
  37. <!-- ============================================================= -->
  38. <!-- ============================================================= -->
  39. <!-- ADD PHRASE ELEMENTS -->
  40. <!-- ============================================================= -->
  41. <!-- hi-d -->
  42. <!ENTITY % ph "ph | b | i |u | sup | sub" >
  43. <!-- ============================================================= -->
  44. <!-- ADD FILTERING ATTRIBUTES -->
  45. <!-- ============================================================= -->
  46. <!-- none-->
  47. <!-- ENTITY % filter-adds
  48. "ADD-ATTRIBUTE-HERE CDATA #IMPLIED"-->
  49. <!-- ============================================================= -->
  50. <!-- DECLARE USE OF ELEMENT/ATTRIBUTE DOMAINS -->
  51. <!-- ============================================================= -->
  52. <!ENTITY included-domains "(topic hi-d) (map mapgroup-d)">
  53. <!-- ============================================================= -->
  54. <!-- REMOVE ATTRIBUTE/ELEMENT GROUPS -->
  55. <!-- ============================================================= -->
  56. <!-- Remove a group by uncommenting its redefinition below -->
  57. <!--ENTITY % filters " " -->
  58. <!--ENTITY % reuse " " -->
  59. <!--ENTITY % variable-content " " -->
  60. <!--ENTITY % variable-links " " -->
  61. <!--ENTITY % reference-content " " -->
  62. <!--ENTITY % control-variables " " -->
  63. <!--ENTITY % localization " " -->
  64. <!--For each group removed add a corresponding constraint value to
  65. the excluded-domains entity. The constraint name should be "no-"
  66. followed by the name of the entity removed/constrained.
  67. For example, if you removed reuse attributes, add the value
  68. "no-reuse-c" to the excluded-domains entity definition-->
  69. <!ENTITY excluded-domains " " >
  70. <!-- ============================================================= -->
  71. <!-- INCLUDE MAP MODULE -->
  72. <!-- ============================================================= -->
  73. <!-- Embed map module to get generic elements -->
  74. <!ENTITY % map-type PUBLIC
  75. "-//OASIS//ELEMENTS LIGHTWEIGHT DITA Map//EN"
  76. "lw-map.mod" >
  77. %map-type;
  78. <!-- ============================================================= -->
  79. <!-- INCLUDE PHRASE MODULES -->
  80. <!-- ============================================================= -->
  81. <!ENTITY % hi-d-def PUBLIC
  82. " -//OASIS//ELEMENTS LIGHTWEIGHT DITA Highlight Domain//EN"
  83. "lw-highlightDomain.mod" >
  84. %hi-d-def;
  85. <!-- ============= End LIGHTWEIGHT DITA Map DTD ================= -->