topic.dtd 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <!-- ============================================================= -->
  2. <!-- HEADER -->
  3. <!-- ============================================================= -->
  4. <!-- MODULE: DITA Topic DTD -->
  5. <!-- VERSION: 1.1 -->
  6. <!-- DATE: November 2006 -->
  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 DITA Topic//EN"
  16. Delivered as file "topic.dtd" -->
  17. <!-- The public ID above refers to the latest version of this DTD.
  18. To refer to this specific version, you may use this value:
  19. PUBLIC "-//OASIS//DTD DITA 1.1 Topic//EN" -->
  20. <!-- ============================================================= -->
  21. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  22. <!-- -->
  23. <!-- PURPOSE: DTD to describe DITA Topics -->
  24. <!-- -->
  25. <!-- ORIGINAL CREATION DATE: -->
  26. <!-- March 2001 -->
  27. <!-- -->
  28. <!-- (C) Copyright OASIS Open 2005, 2006. -->
  29. <!-- (C) Copyright IBM Corporation 2001, 2004. -->
  30. <!-- All Rights Reserved. -->
  31. <!-- -->
  32. <!-- UPDATES: -->
  33. <!-- 2006.06.07 RDA: Added indexing domain -->
  34. <!-- 2006.06.21 RDA: Added props attribute extensions -->
  35. <!-- ============================================================= -->
  36. <!-- ============================================================= -->
  37. <!-- DOMAIN ENTITY DECLARATIONS -->
  38. <!-- ============================================================= -->
  39. <!ENTITY % ui-d-dec PUBLIC
  40. "-//OASIS//ENTITIES DITA User Interface Domain//EN"
  41. "uiDomain.ent" >
  42. %ui-d-dec;
  43. <!ENTITY % hi-d-dec PUBLIC
  44. "-//OASIS//ENTITIES DITA Highlight Domain//EN"
  45. "highlightDomain.ent" >
  46. %hi-d-dec;
  47. <!ENTITY % pr-d-dec PUBLIC
  48. "-//OASIS//ENTITIES DITA Programming Domain//EN"
  49. "programmingDomain.ent" >
  50. %pr-d-dec;
  51. <!ENTITY % sw-d-dec PUBLIC
  52. "-//OASIS//ENTITIES DITA Software Domain//EN"
  53. "softwareDomain.ent" >
  54. %sw-d-dec;
  55. <!ENTITY % ut-d-dec PUBLIC
  56. "-//OASIS//ENTITIES DITA Utilities Domain//EN"
  57. "utilitiesDomain.ent" >
  58. %ut-d-dec;
  59. <!ENTITY % indexing-d-dec PUBLIC
  60. "-//OASIS//ENTITIES DITA Indexing Domain//EN"
  61. "indexingDomain.ent" >
  62. %indexing-d-dec;
  63. <!-- ============================================================= -->
  64. <!-- DOMAIN ATTRIBUTE DECLARATIONS -->
  65. <!-- ============================================================= -->
  66. <!-- ============================================================= -->
  67. <!-- DOMAIN EXTENSIONS -->
  68. <!-- ============================================================= -->
  69. <!-- One for each extended base element, with
  70. the name of the domain(s) in which the
  71. extension was declared -->
  72. <!ENTITY % pre "pre | %pr-d-pre; | %sw-d-pre; |
  73. %ui-d-pre;" >
  74. <!ENTITY % keyword "keyword | %pr-d-keyword; | %sw-d-keyword; |
  75. %ui-d-keyword;" >
  76. <!ENTITY % ph "ph | %pr-d-ph; | %sw-d-ph; |
  77. %hi-d-ph; | %ui-d-ph;" >
  78. <!ENTITY % fig "fig | %pr-d-fig; | %ut-d-fig;" >
  79. <!ENTITY % dl "dl | %pr-d-dl;" >
  80. <!ENTITY % index-base "index-base | %indexing-d-index-base;" >
  81. <!-- ============================================================= -->
  82. <!-- DOMAIN ATTRIBUTE EXTENSIONS -->
  83. <!-- ============================================================= -->
  84. <!ENTITY % props-attribute-extensions "" >
  85. <!ENTITY % base-attribute-extensions "" >
  86. <!-- ============================================================= -->
  87. <!-- TOPIC NESTING OVERRIDE -->
  88. <!-- ============================================================= -->
  89. <!-- Redefine the infotype entity to exclude
  90. other topic types and disallow nesting -->
  91. <!ENTITY % topic-info-types
  92. "topic" >
  93. <!-- ============================================================= -->
  94. <!-- DOMAINS ATTRIBUTE OVERRIDE -->
  95. <!-- ============================================================= -->
  96. <!-- Must be declared ahead of the DTDs, which
  97. puts @domains first in order -->
  98. <!ENTITY included-domains
  99. "&ui-d-att; &hi-d-att; &pr-d-att; &sw-d-att;
  100. &ut-d-att; &indexing-d-att;" >
  101. <!-- ============================================================= -->
  102. <!-- TOPIC ELEMENT INTEGRATION -->
  103. <!-- ============================================================= -->
  104. <!-- Embed topic to get generic elements -->
  105. <!ENTITY % topic-type PUBLIC
  106. "-//OASIS//ELEMENTS DITA Topic//EN"
  107. "topic.mod" >
  108. %topic-type;
  109. <!-- ============================================================= -->
  110. <!-- DOMAIN ELEMENT INTEGRATION -->
  111. <!-- ============================================================= -->
  112. <!ENTITY % ui-d-def PUBLIC
  113. "-//OASIS//ELEMENTS DITA User Interface Domain//EN"
  114. "uiDomain.mod" >
  115. %ui-d-def;
  116. <!ENTITY % hi-d-def PUBLIC
  117. "-//OASIS//ELEMENTS DITA Highlight Domain//EN"
  118. "highlightDomain.mod" >
  119. %hi-d-def;
  120. <!ENTITY % pr-d-def PUBLIC
  121. "-//OASIS//ELEMENTS DITA Programming Domain//EN"
  122. "programmingDomain.mod" >
  123. %pr-d-def;
  124. <!ENTITY % sw-d-def PUBLIC
  125. "-//OASIS//ELEMENTS DITA Software Domain//EN"
  126. "softwareDomain.mod" >
  127. %sw-d-def;
  128. <!ENTITY % ut-d-def PUBLIC
  129. "-//OASIS//ELEMENTS DITA Utilities Domain//EN"
  130. "utilitiesDomain.mod" >
  131. %ut-d-def;
  132. <!ENTITY % indexing-d-def PUBLIC
  133. "-//OASIS//ELEMENTS DITA Indexing Domain//EN"
  134. "indexingDomain.mod" >
  135. %indexing-d-def;
  136. <!-- ================== End DITA Topic DTD ====================== -->