lw-topic.dtd 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <!-- ============================================================= -->
  2. <!-- HEADER -->
  3. <!-- ============================================================= -->
  4. <!-- MODULE: Lightweight DITA Topic -->
  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 Topic//EN"
  16. Delivered as file "lw-topic.dtd" -->
  17. <!-- ============================================================= -->
  18. <!-- SYSTEM: Lightweight DITA -->
  19. <!-- -->
  20. <!-- PURPOSE: DTD to describe Lightweight DITA topic -->
  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. <!-- 03 Apr 2017 CE: Added XDITA constraint token -->
  32. <!-- 11 Jun 2017 KJE: Added headers and update logs -->
  33. <!-- 20 Jun 2017 CE: Added prefix lw- to filename -->
  34. <!-- 25 Jul 2017 CE: Changed public identifier to LIGHTWEIGHT -->
  35. <!-- DITA -->
  36. <!-- ============================================================= -->
  37. <!-- ============================================================= -->
  38. <!-- ADD PHRASE ELEMENTS -->
  39. <!-- ============================================================= -->
  40. <!-- hi-d -->
  41. <!ENTITY % ph "ph | b | i |u | sup | sub" >
  42. <!-- ============================================================= -->
  43. <!-- ADD FILTERING ATTRIBUTES -->
  44. <!-- ============================================================= -->
  45. <!-- none-->
  46. <!-- ENTITY % filter-adds
  47. "ADD-ATTRIBUTE-HERE CDATA #IMPLIED"-->
  48. <!-- ============================================================= -->
  49. <!-- DECLARE USE OF ELEMENT/ATTRIBUTE DOMAINS -->
  50. <!-- ============================================================= -->
  51. <!ENTITY included-domains "(topic hi-d) (topic h5m-d)" >
  52. <!-- ============================================================= -->
  53. <!-- REMOVE ATTRIBUTE/ELEMENT GROUPS -->
  54. <!-- ============================================================= -->
  55. <!-- Remove a group by uncommenting its redefinition below -->
  56. <!--ENTITY % filters " " -->
  57. <!--ENTITY % reuse " " -->
  58. <!--ENTITY % variable-content " " -->
  59. <!--ENTITY % variable-links " " -->
  60. <!--ENTITY % localization " " -->
  61. <!--ENTITY % nested-blocks "p" -->
  62. <!--For each group removed add a corresponding constraint value to
  63. the excluded-domains entity. The constraint name should be "no-"
  64. followed by the name of the entity removed/constrained.
  65. For example, if you removed reuse attributes, add the value
  66. "no-reuse-c" to the excluded-domains entity definition-->
  67. <!ENTITY excluded-domains " " >
  68. <!-- ============================================================= -->
  69. <!-- INCLUDE TOPIC AND SECTION MODULES -->
  70. <!-- ============================================================= -->
  71. <!-- Embed topic module to get generic elements -->
  72. <!ENTITY % topic-type PUBLIC
  73. "-//OASIS//ELEMENTS LIGHTWEIGHT DITA Topic//EN"
  74. "lw-topic.mod" >
  75. %topic-type;
  76. <!-- Embed section modules -->
  77. <!-- none -->
  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 Topic DTD =============== -->