ditabase.dtd 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <!-- ============================================================= -->
  2. <!-- HEADER -->
  3. <!-- ============================================================= -->
  4. <!-- MODULE: DITA BASE 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 Composite//EN"
  16. Delivered as file "ditabase.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 Composite//EN" -->
  20. <!-- ============================================================= -->
  21. <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
  22. <!-- -->
  23. <!-- PURPOSE: Base DTD holds all the information types -->
  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. <!-- 2005.11.15 RDA: Updated these comments to match template -->
  34. <!-- 2006.06.07 RDA: Added indexing domain -->
  35. <!-- 2006.06.21 RDA: Added props attribute extensions -->
  36. <!-- ============================================================= -->
  37. <!-- ============================================================= -->
  38. <!-- DOMAIN ENTITY DECLARATIONS -->
  39. <!-- ============================================================= -->
  40. <!ENTITY % ui-d-dec PUBLIC
  41. "-//OASIS//ENTITIES DITA User Interface Domain//EN"
  42. "uiDomain.ent" >
  43. %ui-d-dec;
  44. <!ENTITY % hi-d-dec PUBLIC
  45. "-//OASIS//ENTITIES DITA Highlight Domain//EN"
  46. "highlightDomain.ent" >
  47. %hi-d-dec;
  48. <!ENTITY % pr-d-dec PUBLIC
  49. "-//OASIS//ENTITIES DITA Programming Domain//EN"
  50. "programmingDomain.ent" >
  51. %pr-d-dec;
  52. <!ENTITY % sw-d-dec PUBLIC
  53. "-//OASIS//ENTITIES DITA Software Domain//EN"
  54. "softwareDomain.ent" >
  55. %sw-d-dec;
  56. <!ENTITY % ut-d-dec PUBLIC
  57. "-//OASIS//ENTITIES DITA Utilities Domain//EN"
  58. "utilitiesDomain.ent" >
  59. %ut-d-dec;
  60. <!ENTITY % indexing-d-dec PUBLIC
  61. "-//OASIS//ENTITIES DITA Indexing Domain//EN"
  62. "indexingDomain.ent" >
  63. %indexing-d-dec;
  64. <!-- ============================================================= -->
  65. <!-- DOMAIN ATTRIBUTE DECLARATIONS -->
  66. <!-- ============================================================= -->
  67. <!-- ============================================================= -->
  68. <!-- DOMAIN EXTENSIONS -->
  69. <!-- ============================================================= -->
  70. <!-- One for each extended base element, with
  71. the name of the domain(s) in which the
  72. extension was declared -->
  73. <!ENTITY % pre "pre | %pr-d-pre; | %sw-d-pre; |
  74. %ui-d-pre;" >
  75. <!ENTITY % keyword "keyword | %pr-d-keyword; | %sw-d-keyword; |
  76. %ui-d-keyword;" >
  77. <!ENTITY % ph "ph | %pr-d-ph; | %sw-d-ph; |
  78. %hi-d-ph; | %ui-d-ph;" >
  79. <!ENTITY % fig "fig | %pr-d-fig; | %ut-d-fig;" >
  80. <!ENTITY % dl "dl | %pr-d-dl;" >
  81. <!ENTITY % index-base "index-base | %indexing-d-index-base;" >
  82. <!-- ============================================================= -->
  83. <!-- DOMAIN ATTRIBUTE EXTENSIONS -->
  84. <!-- ============================================================= -->
  85. <!ENTITY % props-attribute-extensions "" >
  86. <!ENTITY % base-attribute-extensions "" >
  87. <!-- ============================================================= -->
  88. <!-- TOPIC NESTING OVERRIDE -->
  89. <!-- ============================================================= -->
  90. <!-- Redefine the infotype entity to exclude
  91. other topic types and disallow nesting -->
  92. <!ENTITY % glossentry-info-types
  93. "no-topic-nesting" >
  94. <!ENTITY % info-types "topic | concept | task | reference |
  95. glossentry" >
  96. <!-- ============================================================= -->
  97. <!-- LOCALLY DEFINED CONTAINMENT -->
  98. <!-- ============================================================= -->
  99. <!-- Define a containment for topics for editor
  100. support -->
  101. <!ELEMENT dita (%info-types;)+ >
  102. <!-- ============================================================= -->
  103. <!-- DOMAINS ATTRIBUTE OVERRIDE -->
  104. <!-- ============================================================= -->
  105. <!-- Must be declared ahead of the DTDs, which
  106. puts @domains first in order -->
  107. <!ENTITY included-domains
  108. "&ui-d-att; &hi-d-att; &pr-d-att; &sw-d-att;
  109. &ut-d-att; &indexing-d-att;" >
  110. <!-- ============================================================= -->
  111. <!-- TOPIC ELEMENT INTEGRATION -->
  112. <!-- ============================================================= -->
  113. <!-- Embed topic to get generic elements -->
  114. <!ENTITY % topic-type PUBLIC
  115. "-//OASIS//ELEMENTS DITA Topic//EN"
  116. "topic.mod" >
  117. %topic-type;
  118. <!-- Embed concept to get specific elements -->
  119. <!ENTITY % concept-typemod
  120. PUBLIC
  121. "-//OASIS//ELEMENTS DITA Concept//EN"
  122. "concept.mod" >
  123. %concept-typemod;
  124. <!-- Embed task to get specific elements -->
  125. <!ENTITY % task-typemod PUBLIC
  126. "-//OASIS//ELEMENTS DITA Task//EN"
  127. "task.mod" >
  128. %task-typemod;
  129. <!-- Embed reference to get specific elements -->
  130. <!ENTITY % reference-typemod
  131. PUBLIC
  132. "-//OASIS//ELEMENTS DITA Reference//EN"
  133. "reference.mod" >
  134. %reference-typemod;
  135. <!-- Embed glossary to get specific elements -->
  136. <!ENTITY % glossary-typemod
  137. PUBLIC
  138. "-//OASIS//ELEMENTS DITA Glossary//EN"
  139. "glossary.mod" >
  140. %glossary-typemod;
  141. <!-- ============================================================= -->
  142. <!-- DOMAIN ELEMENT INTEGRATION -->
  143. <!-- ============================================================= -->
  144. <!ENTITY % ui-d-def PUBLIC
  145. "-//OASIS//ELEMENTS DITA User Interface Domain//EN"
  146. "uiDomain.mod" >
  147. %ui-d-def;
  148. <!ENTITY % hi-d-def PUBLIC
  149. "-//OASIS//ELEMENTS DITA Highlight Domain//EN"
  150. "highlightDomain.mod" >
  151. %hi-d-def;
  152. <!ENTITY % pr-d-def PUBLIC
  153. "-//OASIS//ELEMENTS DITA Programming Domain//EN"
  154. "programmingDomain.mod" >
  155. %pr-d-def;
  156. <!ENTITY % sw-d-def PUBLIC
  157. "-//OASIS//ELEMENTS DITA Software Domain//EN"
  158. "softwareDomain.mod" >
  159. %sw-d-def;
  160. <!ENTITY % ut-d-def PUBLIC
  161. "-//OASIS//ELEMENTS DITA Utilities Domain//EN"
  162. "utilitiesDomain.mod" >
  163. %ut-d-def;
  164. <!ENTITY % indexing-d-def PUBLIC
  165. "-//OASIS//ELEMENTS DITA Indexing Domain//EN"
  166. "indexingDomain.mod" >
  167. %indexing-d-def;
  168. <!-- ============================================================= -->
  169. <!-- SPECIALIZATION ATTRIBUTES -->
  170. <!-- ============================================================= -->
  171. <!ATTLIST dita %global-atts; >
  172. <!-- ================== End DITA Base DTD ======================= -->