blob: ec382b2e2bb67c0821003ba7e172b9cb348df2af [file] [log] [blame]
dacarvereb106902008-11-03 22:27:34 +00001<!-- ============================================================= -->
2<!-- HEADER -->
3<!-- ============================================================= -->
4<!-- MODULE: DITA BASE DTD -->
5<!-- VERSION: 1.1 -->
6<!-- DATE: November 2006 -->
7<!-- -->
8<!-- ============================================================= -->
9
10<!-- ============================================================= -->
11<!-- PUBLIC DOCUMENT TYPE DEFINITION -->
12<!-- TYPICAL INVOCATION -->
13<!-- -->
14<!-- Refer to this file by the following public identifier or an
15 appropriate system identifier
16PUBLIC "-//OASIS//DTD DITA Composite//EN"
17 Delivered as file "ditabase.dtd" -->
18
19<!-- The public ID above refers to the latest version of this DTD.
20 To refer to this specific version, you may use this value:
21PUBLIC "-//OASIS//DTD DITA 1.1 Composite//EN" -->
22
23<!-- ============================================================= -->
24<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
25<!-- -->
26<!-- PURPOSE: Base DTD holds all the information types -->
27<!-- -->
28<!-- ORIGINAL CREATION DATE: -->
29<!-- March 2001 -->
30<!-- -->
31<!-- (C) Copyright OASIS Open 2005, 2006. -->
32<!-- (C) Copyright IBM Corporation 2001, 2004. -->
33<!-- All Rights Reserved. -->
34<!-- -->
35<!-- UPDATES: -->
36<!-- 2005.11.15 RDA: Updated these comments to match template -->
37<!-- 2006.06.07 RDA: Added indexing domain -->
38<!-- 2006.06.21 RDA: Added props attribute extensions -->
39<!-- ============================================================= -->
40
41
42<!-- ============================================================= -->
43<!-- DOMAIN ENTITY DECLARATIONS -->
44<!-- ============================================================= -->
45
46
47<!ENTITY % ui-d-dec PUBLIC
48"-//OASIS//ENTITIES DITA User Interface Domain//EN"
49"uiDomain.ent" >
50%ui-d-dec;
51
52<!ENTITY % hi-d-dec PUBLIC
53"-//OASIS//ENTITIES DITA Highlight Domain//EN"
54"highlightDomain.ent" >
55%hi-d-dec;
56
57<!ENTITY % pr-d-dec PUBLIC
58"-//OASIS//ENTITIES DITA Programming Domain//EN"
59"programmingDomain.ent" >
60%pr-d-dec;
61
62<!ENTITY % sw-d-dec PUBLIC
63"-//OASIS//ENTITIES DITA Software Domain//EN"
64"softwareDomain.ent" >
65%sw-d-dec;
66
67<!ENTITY % ut-d-dec PUBLIC
68"-//OASIS//ENTITIES DITA Utilities Domain//EN"
69"utilitiesDomain.ent" >
70%ut-d-dec;
71
72<!ENTITY % indexing-d-dec PUBLIC
73"-//OASIS//ENTITIES DITA Indexing Domain//EN"
74"indexingDomain.ent" >
75%indexing-d-dec;
76
77<!-- ============================================================= -->
78<!-- DOMAIN ATTRIBUTE DECLARATIONS -->
79<!-- ============================================================= -->
80
81
82<!-- ============================================================= -->
83<!-- DOMAIN EXTENSIONS -->
84<!-- ============================================================= -->
85<!-- One for each extended base element, with
86 the name of the domain(s) in which the
87 extension was declared -->
88
89<!ENTITY % pre "pre | %pr-d-pre; | %sw-d-pre; |
90 %ui-d-pre;" >
91<!ENTITY % keyword "keyword | %pr-d-keyword; | %sw-d-keyword; |
92 %ui-d-keyword;" >
93<!ENTITY % ph "ph | %pr-d-ph; | %sw-d-ph; |
94 %hi-d-ph; | %ui-d-ph;" >
95<!ENTITY % fig "fig | %pr-d-fig; | %ut-d-fig;" >
96<!ENTITY % dl "dl | %pr-d-dl;" >
97<!ENTITY % index-base "index-base | %indexing-d-index-base;" >
98
99<!-- ============================================================= -->
100<!-- DOMAIN ATTRIBUTE EXTENSIONS -->
101<!-- ============================================================= -->
102<!ENTITY % props-attribute-extensions "" >
103<!ENTITY % base-attribute-extensions "" >
104
105
106<!-- ============================================================= -->
107<!-- TOPIC NESTING OVERRIDE -->
108<!-- ============================================================= -->
109
110<!-- Redefine the infotype entity to exclude
111 other topic types and disallow nesting -->
112<!ENTITY % glossentry-info-types
113 "no-topic-nesting" >
114<!ENTITY % info-types "topic | concept | task | reference |
115 glossentry" >
116
117
118<!-- ============================================================= -->
119<!-- LOCALLY DEFINED CONTAINMENT -->
120<!-- ============================================================= -->
121<!-- Define a containment for topics for editor
122 support -->
123
124<!ELEMENT dita (%info-types;)+ >
125
126
127<!-- ============================================================= -->
128<!-- DOMAINS ATTRIBUTE OVERRIDE -->
129<!-- ============================================================= -->
130<!-- Must be declared ahead of the DTDs, which
131 puts @domains first in order -->
132
133<!ENTITY included-domains
134 "&ui-d-att; &hi-d-att; &pr-d-att; &sw-d-att;
135 &ut-d-att; &indexing-d-att;" >
136
137
138<!-- ============================================================= -->
139<!-- TOPIC ELEMENT INTEGRATION -->
140<!-- ============================================================= -->
141<!-- Embed topic to get generic elements -->
142<!ENTITY % topic-type PUBLIC
143"-//OASIS//ELEMENTS DITA Topic//EN"
144"topic.mod" >
145%topic-type;
146
147
148<!-- Embed concept to get specific elements -->
149<!ENTITY % concept-typemod
150 PUBLIC
151"-//OASIS//ELEMENTS DITA Concept//EN"
152"concept.mod" >
153%concept-typemod;
154
155<!-- Embed task to get specific elements -->
156<!ENTITY % task-typemod PUBLIC
157 "-//OASIS//ELEMENTS DITA Task//EN"
158"task.mod" >
159%task-typemod;
160
161<!-- Embed reference to get specific elements -->
162<!ENTITY % reference-typemod
163 PUBLIC
164"-//OASIS//ELEMENTS DITA Reference//EN"
165"reference.mod" >
166%reference-typemod;
167
168<!-- Embed glossary to get specific elements -->
169<!ENTITY % glossary-typemod
170 PUBLIC
171"-//OASIS//ELEMENTS DITA Glossary//EN"
172"glossary.mod" >
173%glossary-typemod;
174
175<!-- ============================================================= -->
176<!-- DOMAIN ELEMENT INTEGRATION -->
177<!-- ============================================================= -->
178
179
180<!ENTITY % ui-d-def PUBLIC
181"-//OASIS//ELEMENTS DITA User Interface Domain//EN"
182"uiDomain.mod" >
183%ui-d-def;
184
185<!ENTITY % hi-d-def PUBLIC
186"-//OASIS//ELEMENTS DITA Highlight Domain//EN"
187"highlightDomain.mod" >
188%hi-d-def;
189
190<!ENTITY % pr-d-def PUBLIC
191"-//OASIS//ELEMENTS DITA Programming Domain//EN"
192"programmingDomain.mod" >
193%pr-d-def;
194
195<!ENTITY % sw-d-def PUBLIC
196"-//OASIS//ELEMENTS DITA Software Domain//EN"
197"softwareDomain.mod" >
198%sw-d-def;
199
200<!ENTITY % ut-d-def PUBLIC
201"-//OASIS//ELEMENTS DITA Utilities Domain//EN"
202"utilitiesDomain.mod" >
203%ut-d-def;
204
205<!ENTITY % indexing-d-def PUBLIC
206"-//OASIS//ELEMENTS DITA Indexing Domain//EN"
207"indexingDomain.mod" >
208%indexing-d-def;
209
210
211<!-- ============================================================= -->
212<!-- SPECIALIZATION ATTRIBUTES -->
213<!-- ============================================================= -->
214
215<!ATTLIST dita %global-atts; >
216
217
218<!-- ================== End DITA Base DTD ======================= -->