1 | <!-- ============================================================= -->
|
---|
2 | <!-- HEADER -->
|
---|
3 | <!-- ============================================================= -->
|
---|
4 | <!-- MODULE: DITA Map -->
|
---|
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
|
---|
16 | PUBLIC "-//OASIS//ELEMENTS DITA Map//EN"
|
---|
17 | Delivered as file "map.mod" -->
|
---|
18 |
|
---|
19 | <!-- ============================================================= -->
|
---|
20 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
21 | <!-- -->
|
---|
22 | <!-- PURPOSE: Declaring the elements and specialization -->
|
---|
23 | <!-- attributes for the DITA Maps -->
|
---|
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: Corrected public ID in the comment above -->
|
---|
34 | <!-- 2005.11.15 RDA: Removed old declaration for topicreftypes -->
|
---|
35 | <!-- entity -->
|
---|
36 | <!-- 2006.06.06 RDA: Removed default locktitle="yes" from -->
|
---|
37 | <!-- %topicref-atts-no-toc; -->
|
---|
38 | <!-- Remove keyword declaration -->
|
---|
39 | <!-- Add reference to commonElements -->
|
---|
40 | <!-- Add title element to map -->
|
---|
41 | <!-- Add data element to topicmeta -->
|
---|
42 | <!-- Remove shortdesc declaration -->
|
---|
43 | <!-- 2006.06.07 RDA: Make universal attributes universal -->
|
---|
44 | <!-- (DITA 1.1 proposal #12) -->
|
---|
45 | <!-- 2006.06.14 RDA: Add dir attribute to localization-atts -->
|
---|
46 | <!-- 2006.06.14 RDA: Add outputclass attribute to most elemetns -->
|
---|
47 | <!-- 2006.11.30 RDA: Add -dita-use-conref-target to enumerated -->
|
---|
48 | <!-- attributes -->
|
---|
49 | <!-- 2006.11.30 RDA: Remove #FIXED from DITAArchVersion -->
|
---|
50 | <!-- ============================================================= -->
|
---|
51 |
|
---|
52 |
|
---|
53 | <!-- ============================================================= -->
|
---|
54 | <!-- ARCHITECTURE ENTITIES -->
|
---|
55 | <!-- ============================================================= -->
|
---|
56 |
|
---|
57 | <!-- default namespace prefix for DITAArchVersion attribute can be
|
---|
58 | overridden through predefinition in the document type shell -->
|
---|
59 | <!ENTITY % DITAArchNSPrefix
|
---|
60 | "ditaarch" >
|
---|
61 |
|
---|
62 | <!-- must be instanced on each topic type -->
|
---|
63 | <!ENTITY % arch-atts "
|
---|
64 | xmlns:%DITAArchNSPrefix;
|
---|
65 | CDATA #FIXED
|
---|
66 | 'http://dita.oasis-open.org/architecture/2005/'
|
---|
67 | %DITAArchNSPrefix;:DITAArchVersion
|
---|
68 | CDATA '1.1'" >
|
---|
69 |
|
---|
70 | <!-- ============================================================= -->
|
---|
71 | <!-- ELEMENT NAME ENTITIES -->
|
---|
72 | <!-- ============================================================= -->
|
---|
73 |
|
---|
74 |
|
---|
75 | <!ENTITY % map "map" >
|
---|
76 | <!ENTITY % anchor "anchor" >
|
---|
77 | <!ENTITY % linktext "linktext" >
|
---|
78 | <!ENTITY % navref "navref" >
|
---|
79 | <!ENTITY % relcell "relcell" >
|
---|
80 | <!ENTITY % relcolspec "relcolspec" >
|
---|
81 | <!ENTITY % relheader "relheader" >
|
---|
82 | <!ENTITY % relrow "relrow" >
|
---|
83 | <!ENTITY % reltable "reltable" >
|
---|
84 | <!ENTITY % searchtitle "searchtitle" >
|
---|
85 | <!ENTITY % shortdesc "shortdesc" >
|
---|
86 | <!ENTITY % topicmeta "topicmeta" >
|
---|
87 | <!ENTITY % topicref "topicref" >
|
---|
88 |
|
---|
89 |
|
---|
90 | <!-- ============================================================= -->
|
---|
91 | <!-- ENTITY DECLARATIONS FOR ATTRIBUTE VALUES -->
|
---|
92 | <!-- ============================================================= -->
|
---|
93 |
|
---|
94 |
|
---|
95 | <!-- DATE FORMAT -->
|
---|
96 | <!-- Copied into metaDecl.mod -->
|
---|
97 | <!--<!ENTITY % date-format 'CDATA' >-->
|
---|
98 |
|
---|
99 |
|
---|
100 | <!-- ============================================================= -->
|
---|
101 | <!-- COMMON ATTLIST SETS -->
|
---|
102 | <!-- ============================================================= -->
|
---|
103 |
|
---|
104 |
|
---|
105 | <!ENTITY % topicref-atts
|
---|
106 | 'collection-type
|
---|
107 | (choice | unordered |
|
---|
108 | sequence | family |
|
---|
109 | -dita-use-conref-target) #IMPLIED
|
---|
110 | type CDATA #IMPLIED
|
---|
111 | scope (local | peer | external |
|
---|
112 | -dita-use-conref-target) #IMPLIED
|
---|
113 | locktitle (yes | no |
|
---|
114 | -dita-use-conref-target) #IMPLIED
|
---|
115 | format CDATA #IMPLIED
|
---|
116 | linking (none | normal |
|
---|
117 | sourceonly | targetonly |
|
---|
118 | -dita-use-conref-target) #IMPLIED
|
---|
119 | toc (yes | no |
|
---|
120 | -dita-use-conref-target) #IMPLIED
|
---|
121 | print (yes | no | printonly |
|
---|
122 | -dita-use-conref-target) #IMPLIED
|
---|
123 | search (yes | no |
|
---|
124 | -dita-use-conref-target) #IMPLIED
|
---|
125 | chunk CDATA #IMPLIED' >
|
---|
126 |
|
---|
127 |
|
---|
128 | <!ENTITY % topicref-atts-no-toc
|
---|
129 | 'collection-type
|
---|
130 | (choice | unordered |
|
---|
131 | sequence | family |
|
---|
132 | -dita-use-conref-target) #IMPLIED
|
---|
133 | type CDATA #IMPLIED
|
---|
134 | scope (local | peer | external |
|
---|
135 | -dita-use-conref-target) #IMPLIED
|
---|
136 | locktitle (yes | no |
|
---|
137 | -dita-use-conref-target) #IMPLIED
|
---|
138 | format CDATA #IMPLIED
|
---|
139 | linking (targetonly | sourceonly |
|
---|
140 | normal | none |
|
---|
141 | -dita-use-conref-target) #IMPLIED
|
---|
142 | toc (yes | no |
|
---|
143 | -dita-use-conref-target) "no"
|
---|
144 | print (yes | no | printonly |
|
---|
145 | -dita-use-conref-target) #IMPLIED
|
---|
146 | search (yes | no |
|
---|
147 | -dita-use-conref-target) #IMPLIED
|
---|
148 | chunk CDATA #IMPLIED' >
|
---|
149 |
|
---|
150 |
|
---|
151 |
|
---|
152 | <!-- ============================================================= -->
|
---|
153 | <!-- MODULES CALLS -->
|
---|
154 | <!-- ============================================================= -->
|
---|
155 |
|
---|
156 |
|
---|
157 | <!-- Content elements common to map and topic -->
|
---|
158 | <!ENTITY % commonElements PUBLIC
|
---|
159 | "-//OASIS//ELEMENTS DITA Common Elements//EN" "commonElements.mod" >
|
---|
160 | %commonElements;
|
---|
161 |
|
---|
162 | <!-- MetaData Elements -->
|
---|
163 | <!ENTITY % metaXML PUBLIC
|
---|
164 | "-//OASIS//ELEMENTS DITA Metadata//EN" "metaDecl.mod" >
|
---|
165 | %metaXML;
|
---|
166 |
|
---|
167 | <!-- ============================================================= -->
|
---|
168 | <!-- DOMAINS ATTRIBUTE OVERRIDE -->
|
---|
169 | <!-- ============================================================= -->
|
---|
170 |
|
---|
171 | <!ENTITY included-domains "" >
|
---|
172 |
|
---|
173 | <!-- ============================================================= -->
|
---|
174 | <!-- ELEMENT DECLARATIONS -->
|
---|
175 | <!-- ============================================================= -->
|
---|
176 |
|
---|
177 |
|
---|
178 |
|
---|
179 |
|
---|
180 |
|
---|
181 | <!-- LONG NAME: Map -->
|
---|
182 | <!ELEMENT map ((%title;)?, (%topicmeta;)?,
|
---|
183 | (%navref;|%anchor;|%topicref;|%reltable;|
|
---|
184 | %data.elements.incl;)* ) >
|
---|
185 | <!ATTLIST map
|
---|
186 | title CDATA #IMPLIED
|
---|
187 | id ID #IMPLIED
|
---|
188 | conref CDATA #IMPLIED
|
---|
189 | anchorref CDATA #IMPLIED
|
---|
190 | outputclass
|
---|
191 | CDATA #IMPLIED
|
---|
192 | %localization-atts;
|
---|
193 | %arch-atts;
|
---|
194 | domains CDATA "&included-domains;"
|
---|
195 | %topicref-atts;
|
---|
196 | %select-atts; >
|
---|
197 |
|
---|
198 |
|
---|
199 | <!-- LONG NAME: Navigation Reference -->
|
---|
200 | <!ELEMENT navref EMPTY >
|
---|
201 | <!ATTLIST navref
|
---|
202 | %univ-atts;
|
---|
203 | outputclass
|
---|
204 | CDATA #IMPLIED
|
---|
205 | mapref CDATA #IMPLIED >
|
---|
206 |
|
---|
207 |
|
---|
208 | <!-- LONG NAME: Topic Reference -->
|
---|
209 | <!ELEMENT topicref ((%topicmeta;)?,
|
---|
210 | (%topicref; | %navref; | %anchor; |
|
---|
211 | %data.elements.incl;)* ) >
|
---|
212 | <!ATTLIST topicref
|
---|
213 | navtitle CDATA #IMPLIED
|
---|
214 | href CDATA #IMPLIED
|
---|
215 | keyref CDATA #IMPLIED
|
---|
216 | query CDATA #IMPLIED
|
---|
217 | copy-to CDATA #IMPLIED
|
---|
218 | outputclass
|
---|
219 | CDATA #IMPLIED
|
---|
220 | %topicref-atts;
|
---|
221 | %univ-atts; >
|
---|
222 |
|
---|
223 |
|
---|
224 | <!-- LONG NAME: Anchor -->
|
---|
225 | <!ELEMENT anchor EMPTY >
|
---|
226 | <!ATTLIST anchor
|
---|
227 | outputclass
|
---|
228 | CDATA #IMPLIED
|
---|
229 | %localization-atts;
|
---|
230 | id ID #REQUIRED
|
---|
231 | conref CDATA #IMPLIED
|
---|
232 | %select-atts; >
|
---|
233 |
|
---|
234 |
|
---|
235 | <!-- LONG NAME: Relationship Table -->
|
---|
236 | <!ELEMENT reltable ((%topicmeta;)?, (%relheader;)?,
|
---|
237 | (%relrow;)+) >
|
---|
238 | <!ATTLIST reltable
|
---|
239 | title CDATA #IMPLIED
|
---|
240 | outputclass
|
---|
241 | CDATA #IMPLIED
|
---|
242 | %topicref-atts-no-toc;
|
---|
243 | %univ-atts; >
|
---|
244 |
|
---|
245 |
|
---|
246 | <!-- LONG NAME: Relationship Header -->
|
---|
247 | <!ELEMENT relheader (%relcolspec;)+ >
|
---|
248 | <!ATTLIST relheader
|
---|
249 | %univ-atts; >
|
---|
250 |
|
---|
251 |
|
---|
252 | <!-- LONG NAME: Relationship Column Specification
|
---|
253 | -->
|
---|
254 | <!ELEMENT relcolspec (%topicmeta;)? >
|
---|
255 | <!ATTLIST relcolspec
|
---|
256 | outputclass
|
---|
257 | CDATA #IMPLIED
|
---|
258 | %topicref-atts;
|
---|
259 | %univ-atts; >
|
---|
260 |
|
---|
261 |
|
---|
262 | <!-- LONG NAME: Relationship Table Row -->
|
---|
263 | <!ELEMENT relrow (%relcell;)* >
|
---|
264 | <!ATTLIST relrow
|
---|
265 | outputclass
|
---|
266 | CDATA #IMPLIED
|
---|
267 | %univ-atts; >
|
---|
268 |
|
---|
269 |
|
---|
270 | <!-- LONG NAME: Relationship Table Cell -->
|
---|
271 | <!ELEMENT relcell ((%topicref;|%data.elements.incl;)*)>
|
---|
272 | <!ATTLIST relcell
|
---|
273 | outputclass
|
---|
274 | CDATA #IMPLIED
|
---|
275 | %topicref-atts;
|
---|
276 | %univ-atts; >
|
---|
277 |
|
---|
278 |
|
---|
279 | <!-- LONG NAME: Topic Metadata -->
|
---|
280 | <!ELEMENT topicmeta ((%linktext;)?, (%searchtitle;)?,
|
---|
281 | (%shortdesc;)?, (%author;)*, (%source;)?,
|
---|
282 | (%publisher;)?, (%copyright;)*,
|
---|
283 | (%critdates;)?, (%permissions;)?,
|
---|
284 | (%audience;)*, (%category;)*,
|
---|
285 | (%keywords;)*, (%prodinfo;)*, (%othermeta;)*,
|
---|
286 | (%resourceid;)*,
|
---|
287 | (%data.elements.incl; |
|
---|
288 | %foreign.unknown.incl;)*) >
|
---|
289 | <!ATTLIST topicmeta
|
---|
290 | lockmeta (yes | no |
|
---|
291 | -dita-use-conref-target) #IMPLIED
|
---|
292 | %univ-atts; >
|
---|
293 |
|
---|
294 |
|
---|
295 | <!-- LONG NAME: Link Text -->
|
---|
296 | <!ELEMENT linktext (%words.cnt;)* >
|
---|
297 | <!ATTLIST linktext
|
---|
298 | outputclass
|
---|
299 | CDATA #IMPLIED
|
---|
300 | %univ-atts; >
|
---|
301 |
|
---|
302 |
|
---|
303 | <!-- LONG NAME: Search Title -->
|
---|
304 | <!ELEMENT searchtitle (%words.cnt;)* >
|
---|
305 | <!ATTLIST searchtitle
|
---|
306 | outputclass
|
---|
307 | CDATA #IMPLIED
|
---|
308 | %univ-atts; >
|
---|
309 |
|
---|
310 |
|
---|
311 | <!-- LONG NAME: Short Description -->
|
---|
312 | <!--<!ELEMENT shortdesc (%words.cnt;)* >-->
|
---|
313 |
|
---|
314 |
|
---|
315 | <!-- ============================================================= -->
|
---|
316 | <!-- SPECIALIZATION ATTRIBUTE DECLARATIONS -->
|
---|
317 | <!-- ============================================================= -->
|
---|
318 |
|
---|
319 |
|
---|
320 | <!ATTLIST map %global-atts; class CDATA "- map/map " >
|
---|
321 | <!ATTLIST navref %global-atts; class CDATA "- map/navref " >
|
---|
322 | <!ATTLIST topicref %global-atts; class CDATA "- map/topicref " >
|
---|
323 | <!ATTLIST anchor %global-atts; class CDATA "- map/anchor " >
|
---|
324 | <!ATTLIST reltable %global-atts; class CDATA "- map/reltable " >
|
---|
325 | <!ATTLIST relheader %global-atts; class CDATA "- map/relheader " >
|
---|
326 | <!ATTLIST relcolspec %global-atts; class CDATA "- map/relcolspec " >
|
---|
327 | <!ATTLIST relrow %global-atts; class CDATA "- map/relrow " >
|
---|
328 | <!ATTLIST relcell %global-atts; class CDATA "- map/relcell " >
|
---|
329 | <!ATTLIST topicmeta %global-atts; class CDATA "- map/topicmeta " >
|
---|
330 | <!ATTLIST linktext %global-atts; class CDATA "- map/linktext " >
|
---|
331 | <!ATTLIST searchtitle %global-atts; class CDATA "- map/searchtitle ">
|
---|
332 |
|
---|
333 | <!-- Shortdesc in topic uses topic/shortdesc so this one must be
|
---|
334 | included, even though the element is common. -->
|
---|
335 | <!ATTLIST shortdesc %global-atts; class CDATA "- map/shortdesc " >
|
---|
336 |
|
---|
337 |
|
---|
338 | <!-- ================== End DITA Map ============================= --> |
---|