1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!-- ============================================================= -->
|
---|
3 | <!-- HEADER -->
|
---|
4 | <!-- ============================================================= -->
|
---|
5 | <!-- MODULE: DITA Topic XSD Module -->
|
---|
6 | <!-- VERSION: 1.2 -->
|
---|
7 | <!-- DATE: October 2009 -->
|
---|
8 | <!-- -->
|
---|
9 | <!-- ============================================================= -->
|
---|
10 |
|
---|
11 | <!-- ============================================================= -->
|
---|
12 | <!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
|
---|
13 | <!-- -->
|
---|
14 | <!-- PURPOSE: Define elements and specialization attributes -->
|
---|
15 | <!-- for Topics -->
|
---|
16 | <!-- -->
|
---|
17 | <!-- ORIGINAL CREATION DATE: -->
|
---|
18 | <!-- March 2001 -->
|
---|
19 | <!-- -->
|
---|
20 | <!-- (C) Copyright OASIS-Open.org 2005, 2009 -->
|
---|
21 | <!-- (C) Copyright IBM Corporation 2001, 2004. -->
|
---|
22 | <!-- All Rights Reserved. -->
|
---|
23 | <!-- -->
|
---|
24 | <!-- UPDATES -->
|
---|
25 | <!-- ============================================================= -->
|
---|
26 |
|
---|
27 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
|
---|
28 | <!-- ==================== Import Section ======================= -->
|
---|
29 | <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="urn:oasis:names:tc:dita:xsd:ditaarch.xsd:1.2"/>
|
---|
30 |
|
---|
31 | <!-- these are common for some classes of resources and exhibits -->
|
---|
32 | <xs:attributeGroup name="rel-atts">
|
---|
33 | <xs:annotation>
|
---|
34 | <xs:documentation>Relational attributes (<<keyword>%rel-atts;</keyword>>) is a
|
---|
35 | parameter entity declaration in the topic XSD that includes attributes whose
|
---|
36 | values may be used for representing navigational relationships. These attributes
|
---|
37 | occur only on elements that represent relationships between topics.
|
---|
38 | </xs:documentation>
|
---|
39 | </xs:annotation>
|
---|
40 | <xs:attribute name="type" type="xs:string"/>
|
---|
41 | <xs:attribute name="role" type="role-att.class"/>
|
---|
42 | <xs:attribute name="otherrole" type="xs:string"/>
|
---|
43 | <xs:attribute name="format" type="xs:string"/>
|
---|
44 | <xs:attribute name="scope" type="scope-att.class"/>
|
---|
45 | </xs:attributeGroup>
|
---|
46 |
|
---|
47 |
|
---|
48 |
|
---|
49 |
|
---|
50 | <!-- Predefined content.model groups, based on the previous, element-only categories: -->
|
---|
51 | <!-- txt.incl is appropriate for any mixed content definitions (those that have PCDATA) -->
|
---|
52 | <!-- the context for blocks is implicitly an InfoMaster "containing_division" -->
|
---|
53 | <!-- <!ENTITY % body.cnt "%basic.block;|%required-cleanup;"> -->
|
---|
54 | <xs:group name="body.cnt">
|
---|
55 | <xs:sequence>
|
---|
56 | <xs:choice>
|
---|
57 | <xs:group ref="basic.block"/>
|
---|
58 | <xs:group ref="required-cleanup"/>
|
---|
59 | <xs:group ref="draft-comment" />
|
---|
60 | <xs:group ref="data.elements.incl"/>
|
---|
61 | <xs:group ref="foreign.unknown.incl"/>
|
---|
62 | </xs:choice>
|
---|
63 | </xs:sequence>
|
---|
64 | </xs:group>
|
---|
65 |
|
---|
66 | <xs:group name="example.cnt">
|
---|
67 | <xs:sequence>
|
---|
68 | <xs:choice>
|
---|
69 | <xs:group ref="basic.ph"/>
|
---|
70 | <xs:group ref="basic.block"/>
|
---|
71 | <xs:group ref="title"/>
|
---|
72 | <xs:group ref="txt.incl"/>
|
---|
73 | <xs:group ref="data.elements.incl"/>
|
---|
74 | <xs:group ref="foreign.unknown.incl"/>
|
---|
75 | </xs:choice>
|
---|
76 | </xs:sequence>
|
---|
77 | </xs:group>
|
---|
78 |
|
---|
79 | <!-- <!ENTITY % section.cnt "#PCDATA | %basic.ph; | %basic.block; | %title; | %txt.incl;"> -->
|
---|
80 | <xs:group name="section.cnt">
|
---|
81 | <xs:sequence>
|
---|
82 | <xs:choice>
|
---|
83 | <xs:group ref="basic.ph"/>
|
---|
84 | <xs:group ref="basic.block"/>
|
---|
85 | <xs:group ref="title"/>
|
---|
86 | <xs:group ref="sectiondiv"/>
|
---|
87 | <xs:group ref="txt.incl"/>
|
---|
88 | <xs:group ref="data.elements.incl"/>
|
---|
89 | <xs:group ref="foreign.unknown.incl"/>
|
---|
90 | </xs:choice>
|
---|
91 | </xs:sequence>
|
---|
92 | </xs:group>
|
---|
93 |
|
---|
94 | <!-- <!ENTITY % section.notitle.cnt "#PCDATA | %basic.ph; | %basic.block; | %txt.incl;"> -->
|
---|
95 | <xs:group name="section.notitle.cnt">
|
---|
96 | <xs:sequence>
|
---|
97 | <xs:choice>
|
---|
98 | <xs:group ref="basic.ph"/>
|
---|
99 | <xs:group ref="basic.block"/>
|
---|
100 | <xs:group ref="sectiondiv"/>
|
---|
101 | <xs:group ref="txt.incl"/>
|
---|
102 | <xs:group ref="data.elements.incl"/>
|
---|
103 | <xs:group ref="foreign.unknown.incl"/>
|
---|
104 | </xs:choice>
|
---|
105 | </xs:sequence>
|
---|
106 | </xs:group>
|
---|
107 |
|
---|
108 |
|
---|
109 |
|
---|
110 | <!-- STRUCTURAL MEMBERS ======================================================== -->
|
---|
111 | <!-- things that can be nested under topic after body - redefined when specializing -->
|
---|
112 | <xs:simpleType name="topicreftypes-att.class">
|
---|
113 | <xs:restriction base="xs:string">
|
---|
114 | <xs:enumeration value="topic"/>
|
---|
115 | <xs:enumeration value="concept"/>
|
---|
116 | <xs:enumeration value="task"/>
|
---|
117 | <xs:enumeration value="reference"/>
|
---|
118 | <xs:enumeration value="external"/>
|
---|
119 | <xs:enumeration value="local"/>
|
---|
120 | <xs:enumeration value="-dita-use-conref-target"/>
|
---|
121 | </xs:restriction>
|
---|
122 | </xs:simpleType>
|
---|
123 |
|
---|
124 |
|
---|
125 | <xs:group name="topic-info-types">
|
---|
126 | <xs:choice>
|
---|
127 | <xs:group ref="topic"/>
|
---|
128 | <xs:group ref="info-types"/>
|
---|
129 | </xs:choice>
|
---|
130 | </xs:group>
|
---|
131 |
|
---|
132 | <!-- infotype 'topic'
|
---|
133 | | Topic is the archetype from which other typed topics may be derived.
|
---|
134 | | Its body has completely optional content, which allows topic to be used as a titled container
|
---|
135 | | role: migration target for XHTML, other hierarchically structured source
|
---|
136 | *-->
|
---|
137 | <xs:element name="topic">
|
---|
138 | <xs:annotation>
|
---|
139 | <xs:documentation>The <<keyword>topic</keyword>> element is the top-level DITA
|
---|
140 | element for a single-subject topic or article. Other top-level DITA elements
|
---|
141 | that are more content-specific are <<keyword>concept</keyword>>, <<keyword>task</keyword>>,
|
---|
142 | and <<keyword>reference</keyword>>.
|
---|
143 | </xs:documentation>
|
---|
144 | </xs:annotation>
|
---|
145 | <xs:complexType>
|
---|
146 | <xs:complexContent>
|
---|
147 | <xs:extension base="topic.class">
|
---|
148 | <xs:attribute ref="class" default="- topic/topic "/>
|
---|
149 | </xs:extension>
|
---|
150 | </xs:complexContent>
|
---|
151 | </xs:complexType>
|
---|
152 | </xs:element>
|
---|
153 | <xs:complexType name="topic.class">
|
---|
154 | <xs:sequence>
|
---|
155 | <xs:group ref="topic.content"/>
|
---|
156 | </xs:sequence>
|
---|
157 | <xs:attributeGroup ref="topic.attributes"/>
|
---|
158 | </xs:complexType>
|
---|
159 |
|
---|
160 | <xs:group name="topic.content">
|
---|
161 | <xs:sequence>
|
---|
162 | <xs:sequence>
|
---|
163 | <xs:group ref="title"/>
|
---|
164 | <xs:group ref="titlealts" minOccurs="0"/>
|
---|
165 | <xs:choice minOccurs="0" >
|
---|
166 | <xs:group ref="shortdesc" />
|
---|
167 | <xs:group ref="abstract" />
|
---|
168 | </xs:choice>
|
---|
169 | <xs:group ref="prolog" minOccurs="0"/>
|
---|
170 | <xs:group ref="body" minOccurs="0"/>
|
---|
171 | <xs:group ref="related-links" minOccurs="0"/>
|
---|
172 | <xs:group ref="topic-info-types" minOccurs="0" maxOccurs="unbounded"/>
|
---|
173 | </xs:sequence>
|
---|
174 | </xs:sequence>
|
---|
175 | </xs:group>
|
---|
176 |
|
---|
177 | <xs:attributeGroup name="topic.attributes">
|
---|
178 | <xs:attribute name="id" type="xs:ID" use="required"/>
|
---|
179 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
180 | <xs:attributeGroup ref="conref-atts"/>
|
---|
181 | <xs:attribute ref="ditaarch:DITAArchVersion"/>
|
---|
182 | <xs:attributeGroup ref="domains-att"/>
|
---|
183 | <xs:attributeGroup ref="select-atts"/>
|
---|
184 | <xs:attributeGroup ref="localization-atts"/>
|
---|
185 | <xs:attributeGroup ref="global-atts"/>
|
---|
186 | </xs:attributeGroup>
|
---|
187 |
|
---|
188 | <!-- Rename null to no-topic-nesting -->
|
---|
189 | <xs:element name="no-topic-nesting">
|
---|
190 | <xs:annotation>
|
---|
191 | <xs:documentation>The <<keyword>no-topic-nesting</keyword>> element is a placeholder
|
---|
192 | in the DITA architecture. It is not actually used by the DITA XSDs; it is
|
---|
193 | for use only when creating a customized XSD where the information designer
|
---|
194 | wants to eliminate the ability to nest topics. <b>Not for use by authors.</b>
|
---|
195 | </xs:documentation>
|
---|
196 | </xs:annotation>
|
---|
197 | <xs:complexType>
|
---|
198 | <xs:complexContent>
|
---|
199 | <xs:extension base="no-topic-nesting.class">
|
---|
200 | <xs:attribute ref="class" default="- topic/no-topic-nesting "/>
|
---|
201 | </xs:extension>
|
---|
202 | </xs:complexContent>
|
---|
203 | </xs:complexType>
|
---|
204 | </xs:element>
|
---|
205 | <xs:complexType name="no-topic-nesting.class">
|
---|
206 | <xs:attributeGroup ref="no-topic-nesting.attributes"/>
|
---|
207 | </xs:complexType>
|
---|
208 |
|
---|
209 | <xs:attributeGroup name="no-topic-nesting.attributes">
|
---|
210 | <xs:attributeGroup ref="global-atts"/>
|
---|
211 | </xs:attributeGroup>
|
---|
212 |
|
---|
213 |
|
---|
214 | <xs:element name="titlealts">
|
---|
215 | <xs:annotation>
|
---|
216 | <xs:documentation>The alternate title element (<<keyword>titlealts</keyword>>)
|
---|
217 | is optional, but can occur after the topic title. Two elements can be inserted
|
---|
218 | as sub-elements of <<keyword>titlealts</keyword>>: navigation title <<keyword>navtitle</keyword>>
|
---|
219 | and search title <<keyword>searchtitle</keyword>>. When your DITA topic
|
---|
220 | is transformed to XHTML, the <<keyword>searchtitle</keyword>> element is
|
---|
221 | used to create a title element at the top of the resulting XHTML file. This
|
---|
222 | title may differ from the first level heading that shows in the main browser
|
---|
223 | window. In HTML output, the <<keyword>navtitle</keyword>> may be used to
|
---|
224 | create navigation panels when your DITA topics are part of an HTML-based help
|
---|
225 | or information system. The design intent is to enable navigation for HTML
|
---|
226 | Help and Eclipse help systems.
|
---|
227 | </xs:documentation>
|
---|
228 | </xs:annotation>
|
---|
229 | <xs:complexType>
|
---|
230 | <xs:complexContent>
|
---|
231 | <xs:extension base="titlealts.class">
|
---|
232 | <xs:attribute ref="class" default="- topic/titlealts "/>
|
---|
233 | </xs:extension>
|
---|
234 | </xs:complexContent>
|
---|
235 | </xs:complexType>
|
---|
236 | </xs:element>
|
---|
237 | <xs:complexType name="titlealts.class">
|
---|
238 | <xs:sequence>
|
---|
239 | <xs:group ref="titlealts.content"/>
|
---|
240 | </xs:sequence>
|
---|
241 | <xs:attributeGroup ref="titlealts.attributes"/>
|
---|
242 | </xs:complexType>
|
---|
243 |
|
---|
244 | <xs:group name="titlealts.content">
|
---|
245 | <xs:sequence>
|
---|
246 | <xs:sequence>
|
---|
247 | <xs:group ref="navtitle" minOccurs="0"/>
|
---|
248 | <xs:group ref="searchtitle" minOccurs="0"/>
|
---|
249 | </xs:sequence>
|
---|
250 | </xs:sequence>
|
---|
251 | </xs:group>
|
---|
252 |
|
---|
253 | <xs:attributeGroup name="titlealts.attributes">
|
---|
254 | <xs:attributeGroup ref="univ-atts"/>
|
---|
255 | <xs:attributeGroup ref="global-atts"/>
|
---|
256 | </xs:attributeGroup>
|
---|
257 |
|
---|
258 |
|
---|
259 |
|
---|
260 |
|
---|
261 |
|
---|
262 | <xs:element name="searchtitle">
|
---|
263 | <xs:annotation>
|
---|
264 | <xs:documentation>When your DITA topic is transformed to XHTML, the <<keyword>searchtitle</keyword>>
|
---|
265 | element is used to create a title element at the top of the resulting HTML
|
---|
266 | file. This title is normally used in search result summaries by some search
|
---|
267 | engines, such as that in Eclipse (
|
---|
268 | <xref format="html" href="http://eclipse.org"
|
---|
269 | scope="external">http://eclipse.org</xref>
|
---|
270 | ); if not set, the XHTML's
|
---|
271 | title element defaults to the source topic's title content (which may not
|
---|
272 | be as well optimized for search summaries)
|
---|
273 | </xs:documentation>
|
---|
274 | </xs:annotation>
|
---|
275 | <xs:complexType>
|
---|
276 | <xs:complexContent>
|
---|
277 | <xs:extension base="searchtitle.class">
|
---|
278 | <xs:attribute ref="class" default="- topic/searchtitle "/>
|
---|
279 | </xs:extension>
|
---|
280 | </xs:complexContent>
|
---|
281 | </xs:complexType>
|
---|
282 | </xs:element>
|
---|
283 | <xs:complexType name="searchtitle.class" mixed="true">
|
---|
284 | <xs:sequence>
|
---|
285 | <xs:group ref="searchtitle.content"/>
|
---|
286 | </xs:sequence>
|
---|
287 | <xs:attributeGroup ref="searchtitle.attributes"/>
|
---|
288 | </xs:complexType>
|
---|
289 |
|
---|
290 | <xs:group name="searchtitle.content">
|
---|
291 | <xs:sequence>
|
---|
292 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
293 | <xs:group ref="words.cnt" minOccurs="0"/>
|
---|
294 | <xs:group ref="ph" minOccurs="0"/>
|
---|
295 | </xs:choice>
|
---|
296 | </xs:sequence>
|
---|
297 | </xs:group>
|
---|
298 |
|
---|
299 | <xs:attributeGroup name="searchtitle.attributes">
|
---|
300 | <xs:attributeGroup ref="univ-atts"/>
|
---|
301 | <xs:attributeGroup ref="global-atts"/>
|
---|
302 | </xs:attributeGroup>
|
---|
303 |
|
---|
304 |
|
---|
305 |
|
---|
306 | <xs:element name="body">
|
---|
307 | <xs:annotation>
|
---|
308 | <xs:documentation>The <<keyword>body</keyword>> element is the container for the
|
---|
309 | main content of a <<keyword>topic</keyword>>.
|
---|
310 | </xs:documentation>
|
---|
311 | </xs:annotation>
|
---|
312 | <xs:complexType>
|
---|
313 | <xs:complexContent>
|
---|
314 | <xs:extension base="body.class">
|
---|
315 | <xs:attribute ref="class" default="- topic/body "/>
|
---|
316 | </xs:extension>
|
---|
317 | </xs:complexContent>
|
---|
318 | </xs:complexType>
|
---|
319 | </xs:element>
|
---|
320 | <xs:complexType name="body.class">
|
---|
321 | <xs:sequence>
|
---|
322 | <xs:group ref="body.content"/>
|
---|
323 | </xs:sequence>
|
---|
324 | <xs:attributeGroup ref="body.attributes"/>
|
---|
325 | </xs:complexType>
|
---|
326 |
|
---|
327 | <xs:group name="body.content">
|
---|
328 | <xs:sequence>
|
---|
329 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
330 | <xs:group ref="body.cnt" minOccurs="0"/>
|
---|
331 | <xs:group ref="bodydiv" minOccurs="0"/>
|
---|
332 | <xs:group ref="section" minOccurs="0"/>
|
---|
333 | <xs:group ref="example" minOccurs="0"/>
|
---|
334 | </xs:choice>
|
---|
335 | </xs:sequence>
|
---|
336 | </xs:group>
|
---|
337 |
|
---|
338 | <xs:attributeGroup name="body.attributes">
|
---|
339 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
340 | <xs:attributeGroup ref="univ-atts"/>
|
---|
341 | <xs:attributeGroup ref="global-atts"/>
|
---|
342 | </xs:attributeGroup>
|
---|
343 |
|
---|
344 | <xs:element name="section">
|
---|
345 | <xs:annotation>
|
---|
346 | <xs:documentation> The <<keyword>section</keyword>> element represents an organizational
|
---|
347 | division in a topic. Sections are used to organize subsets of information
|
---|
348 | that are directly related to the topic. For example, the titles <b>Reference
|
---|
349 | Syntax</b>, <b>Example</b> and <b>Properties</b> might represent section-level
|
---|
350 | discourse within a topic about a command-line process—the content in each
|
---|
351 | section relates uniquely to the subject of that topic. Multiple sections within
|
---|
352 | a single topic do not represent a hierarchy, but rather peer divisions of
|
---|
353 | that topic. Sections cannot be nested. A section may have an optional title.
|
---|
354 | </xs:documentation>
|
---|
355 | </xs:annotation>
|
---|
356 | <xs:complexType>
|
---|
357 | <xs:complexContent>
|
---|
358 | <xs:extension base="section.class">
|
---|
359 | <xs:attribute ref="class" default="- topic/section "/>
|
---|
360 | </xs:extension>
|
---|
361 | </xs:complexContent>
|
---|
362 | </xs:complexType>
|
---|
363 | </xs:element>
|
---|
364 | <xs:complexType name="section.class" mixed="true">
|
---|
365 | <xs:sequence>
|
---|
366 | <xs:group ref="section.content"/>
|
---|
367 | </xs:sequence>
|
---|
368 | <xs:attributeGroup ref="section.attributes"/>
|
---|
369 | </xs:complexType>
|
---|
370 |
|
---|
371 | <xs:group name="section.content">
|
---|
372 | <xs:sequence>
|
---|
373 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
374 | <xs:group ref="section.cnt" minOccurs="0"/>
|
---|
375 | </xs:choice>
|
---|
376 | </xs:sequence>
|
---|
377 | </xs:group>
|
---|
378 |
|
---|
379 | <xs:attributeGroup name="section.attributes">
|
---|
380 | <xs:attribute name="spectitle" type="xs:string"/>
|
---|
381 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
382 | <xs:attributeGroup ref="univ-atts"/>
|
---|
383 | <xs:attributeGroup ref="global-atts"/>
|
---|
384 | </xs:attributeGroup>
|
---|
385 |
|
---|
386 |
|
---|
387 | <xs:element name="bodydiv">
|
---|
388 | <xs:annotation>
|
---|
389 | <xs:documentation>
|
---|
390 | </xs:documentation>
|
---|
391 | </xs:annotation>
|
---|
392 | <xs:complexType>
|
---|
393 | <xs:complexContent>
|
---|
394 | <xs:extension base="bodydiv.class">
|
---|
395 | <xs:attribute ref="class" default="- topic/bodydiv "/>
|
---|
396 | </xs:extension>
|
---|
397 | </xs:complexContent>
|
---|
398 | </xs:complexType>
|
---|
399 | </xs:element>
|
---|
400 |
|
---|
401 | <xs:complexType name="bodydiv.class" mixed="true">
|
---|
402 | <xs:sequence>
|
---|
403 | <xs:group ref="bodydiv.content"/>
|
---|
404 | </xs:sequence>
|
---|
405 | <xs:attributeGroup ref="bodydiv.attributes"/>
|
---|
406 | </xs:complexType>
|
---|
407 |
|
---|
408 | <xs:group name="bodydiv.content">
|
---|
409 | <xs:sequence>
|
---|
410 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
411 | <xs:group ref="bodydiv.cnt" minOccurs="0"/>
|
---|
412 | <xs:group ref="bodydiv" minOccurs="0"/>
|
---|
413 | <xs:group ref="section" minOccurs="0"/>
|
---|
414 | </xs:choice>
|
---|
415 | </xs:sequence>
|
---|
416 | </xs:group>
|
---|
417 |
|
---|
418 | <xs:attributeGroup name="bodydiv.attributes">
|
---|
419 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
420 | <xs:attributeGroup ref="univ-atts"/>
|
---|
421 | <xs:attributeGroup ref="global-atts"/>
|
---|
422 | </xs:attributeGroup>
|
---|
423 |
|
---|
424 | <xs:group name="bodydiv.cnt">
|
---|
425 | <xs:sequence>
|
---|
426 | <xs:choice>
|
---|
427 | <xs:group ref="basic.block"/>
|
---|
428 | <xs:group ref="basic.ph"/>
|
---|
429 | <xs:group ref="data.elements.incl"/>
|
---|
430 | <xs:group ref="foreign.unknown.incl"/>
|
---|
431 | <xs:group ref="txt.incl"/>
|
---|
432 | </xs:choice>
|
---|
433 | </xs:sequence>
|
---|
434 | </xs:group>
|
---|
435 |
|
---|
436 | <xs:element name="sectiondiv">
|
---|
437 | <xs:annotation>
|
---|
438 | <xs:documentation>
|
---|
439 | </xs:documentation>
|
---|
440 | </xs:annotation>
|
---|
441 | <xs:complexType>
|
---|
442 | <xs:complexContent>
|
---|
443 | <xs:extension base="sectiondiv.class">
|
---|
444 | <xs:attribute ref="class" default="- topic/sectiondiv "/>
|
---|
445 | </xs:extension>
|
---|
446 | </xs:complexContent>
|
---|
447 | </xs:complexType>
|
---|
448 | </xs:element>
|
---|
449 | <xs:complexType name="sectiondiv.class" mixed="true">
|
---|
450 | <xs:sequence>
|
---|
451 | <xs:group ref="sectiondiv.content"/>
|
---|
452 | </xs:sequence>
|
---|
453 | <xs:attributeGroup ref="sectiondiv.attributes"/>
|
---|
454 | </xs:complexType>
|
---|
455 |
|
---|
456 | <xs:group name="sectiondiv.content">
|
---|
457 | <xs:sequence>
|
---|
458 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
459 | <xs:group ref="sectiondiv.cnt" minOccurs="0"/>
|
---|
460 | <xs:group ref="sectiondiv" minOccurs="0"/>
|
---|
461 | </xs:choice>
|
---|
462 | </xs:sequence>
|
---|
463 | </xs:group>
|
---|
464 |
|
---|
465 | <xs:attributeGroup name="sectiondiv.attributes">
|
---|
466 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
467 | <xs:attributeGroup ref="univ-atts"/>
|
---|
468 | <xs:attributeGroup ref="global-atts"/>
|
---|
469 | </xs:attributeGroup>
|
---|
470 |
|
---|
471 | <xs:group name="sectiondiv.cnt">
|
---|
472 | <xs:sequence>
|
---|
473 | <xs:choice>
|
---|
474 | <xs:group ref="basic.block"/>
|
---|
475 | <xs:group ref="basic.ph"/>
|
---|
476 | <xs:group ref="data.elements.incl"/>
|
---|
477 | <xs:group ref="foreign.unknown.incl"/>
|
---|
478 | <xs:group ref="txt.incl"/>
|
---|
479 | </xs:choice>
|
---|
480 | </xs:sequence>
|
---|
481 | </xs:group>
|
---|
482 |
|
---|
483 |
|
---|
484 | <xs:element name="example">
|
---|
485 | <xs:annotation>
|
---|
486 | <xs:documentation>The <<keyword>example</keyword>> element is a section with the
|
---|
487 | specific role of containing examples that illustrate or support the current
|
---|
488 | topic. The <<keyword>example</keyword>> element has the same content model
|
---|
489 | as <<keyword>section</keyword>>.
|
---|
490 | </xs:documentation>
|
---|
491 | </xs:annotation>
|
---|
492 | <xs:complexType>
|
---|
493 | <xs:complexContent>
|
---|
494 | <xs:extension base="example.class">
|
---|
495 | <xs:attribute ref="class" default="- topic/example "/>
|
---|
496 | </xs:extension>
|
---|
497 | </xs:complexContent>
|
---|
498 | </xs:complexType>
|
---|
499 | </xs:element>
|
---|
500 | <xs:complexType name="example.class" mixed="true">
|
---|
501 | <xs:sequence>
|
---|
502 | <xs:group ref="example.content"/>
|
---|
503 | </xs:sequence>
|
---|
504 | <xs:attributeGroup ref="example.attributes"/>
|
---|
505 | </xs:complexType>
|
---|
506 |
|
---|
507 | <xs:group name="example.content">
|
---|
508 | <xs:sequence>
|
---|
509 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
510 | <xs:group ref="example.cnt" minOccurs="0"/>
|
---|
511 | </xs:choice>
|
---|
512 | </xs:sequence>
|
---|
513 | </xs:group>
|
---|
514 |
|
---|
515 | <xs:attributeGroup name="example.attributes">
|
---|
516 | <xs:attribute name="spectitle" type="xs:string"/>
|
---|
517 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
518 | <xs:attributeGroup ref="univ-atts"/>
|
---|
519 | <xs:attributeGroup ref="global-atts"/>
|
---|
520 | </xs:attributeGroup>
|
---|
521 |
|
---|
522 |
|
---|
523 |
|
---|
524 | <!-- PROLOG (metadata for topics) =================================== -->
|
---|
525 | <!-- TYPED DATA ELEMENTS: ======================================================= -->
|
---|
526 | <!-- typed content definitions -->
|
---|
527 | <!-- typed, localizable content -->
|
---|
528 |
|
---|
529 | <xs:element name="prolog">
|
---|
530 | <xs:annotation>
|
---|
531 | <xs:documentation>The <<keyword>prolog</keyword>> element contains information
|
---|
532 | about the topic as an whole (for example, author information or subject category)
|
---|
533 | that is either entered by the author or machine-maintained. Much of the metadata
|
---|
534 | inside the <<keyword>prolog</keyword>> will not be displayed with the topic
|
---|
535 | on output, but may be used by processes that generate search indexes or customize
|
---|
536 | navigation.
|
---|
537 | </xs:documentation>
|
---|
538 | </xs:annotation>
|
---|
539 | <xs:complexType>
|
---|
540 | <xs:complexContent>
|
---|
541 | <xs:extension base="prolog.class">
|
---|
542 | <xs:attribute ref="class" default="- topic/prolog "/>
|
---|
543 | </xs:extension>
|
---|
544 | </xs:complexContent>
|
---|
545 | </xs:complexType>
|
---|
546 | </xs:element>
|
---|
547 | <xs:complexType name="prolog.class">
|
---|
548 | <xs:sequence>
|
---|
549 | <xs:group ref="prolog.content"/>
|
---|
550 | </xs:sequence>
|
---|
551 | <xs:attributeGroup ref="prolog.attributes"/>
|
---|
552 | </xs:complexType>
|
---|
553 |
|
---|
554 | <xs:group name="prolog.content">
|
---|
555 | <xs:sequence>
|
---|
556 | <xs:sequence>
|
---|
557 | <xs:group ref="author" minOccurs="0" maxOccurs="unbounded"/>
|
---|
558 | <xs:group ref="source" minOccurs="0"/>
|
---|
559 | <xs:group ref="publisher" minOccurs="0"/>
|
---|
560 | <xs:group ref="copyright" minOccurs="0" maxOccurs="unbounded"/>
|
---|
561 | <xs:group ref="critdates" minOccurs="0"/>
|
---|
562 | <xs:group ref="permissions" minOccurs="0"/>
|
---|
563 | <xs:group ref="metadata" minOccurs="0" maxOccurs="unbounded"/>
|
---|
564 | <xs:group ref="resourceid" minOccurs="0" maxOccurs="unbounded"/>
|
---|
565 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
566 | <xs:group ref="data.elements.incl"/>
|
---|
567 | <xs:group ref="foreign.unknown.incl"/>
|
---|
568 | </xs:choice>
|
---|
569 | </xs:sequence>
|
---|
570 | </xs:sequence>
|
---|
571 | </xs:group>
|
---|
572 |
|
---|
573 | <xs:attributeGroup name="prolog.attributes">
|
---|
574 | <xs:attributeGroup ref="univ-atts"/>
|
---|
575 | <xs:attributeGroup ref="global-atts"/>
|
---|
576 | </xs:attributeGroup>
|
---|
577 |
|
---|
578 |
|
---|
579 |
|
---|
580 |
|
---|
581 | <!-- ================ LINKS GROUPING - START ================ -->
|
---|
582 |
|
---|
583 | <xs:element name="related-links">
|
---|
584 | <xs:annotation>
|
---|
585 | <xs:documentation>The related information links of a topic (<<keyword>related-links</keyword>>
|
---|
586 | element) are stored in a special section following the body of the topic.
|
---|
587 | After a topic is processed into it final output form, the related links are
|
---|
588 | usually displayed at the end of the topic, although some Web-based help systems
|
---|
589 | might display them in a separate navigation frame.
|
---|
590 | </xs:documentation>
|
---|
591 | </xs:annotation>
|
---|
592 | <xs:complexType>
|
---|
593 | <xs:complexContent>
|
---|
594 | <xs:extension base="related-links.class">
|
---|
595 | <xs:attribute ref="class" default="- topic/related-links "/>
|
---|
596 | </xs:extension>
|
---|
597 | </xs:complexContent>
|
---|
598 | </xs:complexType>
|
---|
599 | </xs:element>
|
---|
600 | <xs:complexType name="related-links.class">
|
---|
601 | <xs:sequence>
|
---|
602 | <xs:group ref="related-links.content"/>
|
---|
603 | </xs:sequence>
|
---|
604 | <xs:attributeGroup ref="related-links.attributes"/>
|
---|
605 | </xs:complexType>
|
---|
606 |
|
---|
607 | <xs:group name="related-links.content">
|
---|
608 | <xs:sequence>
|
---|
609 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
610 | <xs:group ref="link" minOccurs="0"/>
|
---|
611 | <xs:group ref="linklist" minOccurs="0"/>
|
---|
612 | <xs:group ref="linkpool" minOccurs="0"/>
|
---|
613 | </xs:choice>
|
---|
614 | </xs:sequence>
|
---|
615 | </xs:group>
|
---|
616 |
|
---|
617 | <xs:attributeGroup name="related-links.attributes">
|
---|
618 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
619 | <xs:attributeGroup ref="rel-atts"/>
|
---|
620 | <xs:attributeGroup ref="univ-atts"/>
|
---|
621 | <xs:attributeGroup ref="global-atts"/>
|
---|
622 | </xs:attributeGroup>
|
---|
623 |
|
---|
624 |
|
---|
625 | <xs:element name="linklist">
|
---|
626 | <xs:annotation>
|
---|
627 | <xs:documentation>The <<keyword>linklist</keyword>> element defines an author-arranged
|
---|
628 | group of links. Within <<keyword>linklist</keyword>>, the organization
|
---|
629 | of links on final output is in the same order as originally authored in the
|
---|
630 | DITA topic file.
|
---|
631 | </xs:documentation>
|
---|
632 | </xs:annotation>
|
---|
633 | <xs:complexType>
|
---|
634 | <xs:complexContent>
|
---|
635 | <xs:extension base="linklist.class">
|
---|
636 | <xs:attribute ref="class" default="- topic/linklist "/>
|
---|
637 | </xs:extension>
|
---|
638 | </xs:complexContent>
|
---|
639 | </xs:complexType>
|
---|
640 | </xs:element>
|
---|
641 | <xs:complexType name="linklist.class">
|
---|
642 | <xs:sequence>
|
---|
643 | <xs:group ref="linklist.content"/>
|
---|
644 | </xs:sequence>
|
---|
645 | <xs:attributeGroup ref="linklist.attributes"/>
|
---|
646 | </xs:complexType>
|
---|
647 |
|
---|
648 | <xs:group name="linklist.content">
|
---|
649 | <xs:sequence>
|
---|
650 | <xs:sequence>
|
---|
651 | <xs:group ref="title" minOccurs="0"/>
|
---|
652 | <xs:group ref="desc" minOccurs="0"/>
|
---|
653 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
654 | <xs:group ref="linklist"/>
|
---|
655 | <xs:group ref="link"/>
|
---|
656 | </xs:choice>
|
---|
657 | <xs:group ref="linkinfo" minOccurs="0"/>
|
---|
658 | </xs:sequence>
|
---|
659 | </xs:sequence>
|
---|
660 | </xs:group>
|
---|
661 |
|
---|
662 | <xs:attributeGroup name="linklist.attributes">
|
---|
663 | <xs:attribute name="collection-type" type="collection-type.class"/>
|
---|
664 | <xs:attribute name="duplicates" type="yesno-att.class"/>
|
---|
665 | <xs:attribute name="mapkeyref" type="xs:string"/>
|
---|
666 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
667 | <xs:attribute name="spectitle" type="xs:string"/>
|
---|
668 | <xs:attributeGroup ref="rel-atts"/>
|
---|
669 | <xs:attributeGroup ref="univ-atts"/>
|
---|
670 | <xs:attributeGroup ref="global-atts"/>
|
---|
671 | </xs:attributeGroup>
|
---|
672 |
|
---|
673 | <xs:element name="linkinfo">
|
---|
674 | <xs:annotation>
|
---|
675 | <xs:documentation>
|
---|
676 | The <<keyword>linkinfo</keyword>> element allows you to place
|
---|
677 | a descriptive paragraph following a list of links in a <xref href="linklist.xml">linklist</xref> element.
|
---|
678 | </xs:documentation>
|
---|
679 | </xs:annotation>
|
---|
680 | <xs:complexType>
|
---|
681 | <xs:complexContent>
|
---|
682 | <xs:extension base="linkinfo.class">
|
---|
683 | <xs:attribute ref="class" default="- topic/linkinfo "/>
|
---|
684 | </xs:extension>
|
---|
685 | </xs:complexContent>
|
---|
686 | </xs:complexType>
|
---|
687 | </xs:element>
|
---|
688 | <xs:complexType name="linkinfo.class" mixed="true">
|
---|
689 | <xs:sequence>
|
---|
690 | <xs:group ref="linkinfo.content"/>
|
---|
691 | </xs:sequence>
|
---|
692 | <xs:attributeGroup ref="linkinfo.attributes"/>
|
---|
693 | </xs:complexType>
|
---|
694 |
|
---|
695 | <xs:group name="linkinfo.content">
|
---|
696 | <xs:sequence>
|
---|
697 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
698 | <xs:group ref="desc.cnt"/>
|
---|
699 | </xs:choice>
|
---|
700 | </xs:sequence>
|
---|
701 | </xs:group>
|
---|
702 |
|
---|
703 | <xs:attributeGroup name="linkinfo.attributes">
|
---|
704 | <xs:attributeGroup ref="univ-atts"/>
|
---|
705 | <xs:attributeGroup ref="global-atts"/>
|
---|
706 | </xs:attributeGroup>
|
---|
707 |
|
---|
708 |
|
---|
709 | <xs:element name="linkpool">
|
---|
710 | <xs:annotation>
|
---|
711 | <xs:documentation>The <<keyword>linkpool</keyword>> element defines a group of
|
---|
712 | links that have common characteristics, such as type or audience or source.
|
---|
713 | Within <<keyword>linkpool</keyword>>, the organization of links on final
|
---|
714 | output is determined by the output process, not by the order that the links
|
---|
715 | actually occur in the DITA topic file.
|
---|
716 | </xs:documentation>
|
---|
717 | </xs:annotation>
|
---|
718 | <xs:complexType>
|
---|
719 | <xs:complexContent>
|
---|
720 | <xs:extension base="linkpool.class">
|
---|
721 | <xs:attribute ref="class" default="- topic/linkpool "/>
|
---|
722 | </xs:extension>
|
---|
723 | </xs:complexContent>
|
---|
724 | </xs:complexType>
|
---|
725 | </xs:element>
|
---|
726 | <xs:complexType name="linkpool.class">
|
---|
727 | <xs:sequence>
|
---|
728 | <xs:group ref="linkpool.content"/>
|
---|
729 | </xs:sequence>
|
---|
730 | <xs:attributeGroup ref="linkpool.attributes"/>
|
---|
731 | </xs:complexType>
|
---|
732 |
|
---|
733 | <xs:group name="linkpool.content">
|
---|
734 | <xs:sequence>
|
---|
735 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
736 | <xs:group ref="linkpool" minOccurs="0"/>
|
---|
737 | <xs:group ref="link" minOccurs="0"/>
|
---|
738 | </xs:choice>
|
---|
739 | </xs:sequence>
|
---|
740 | </xs:group>
|
---|
741 |
|
---|
742 | <xs:attributeGroup name="linkpool.attributes">
|
---|
743 | <xs:attribute name="collection-type" type="collection-type.class"/>
|
---|
744 | <xs:attribute name="duplicates" type="yesno-att.class"/>
|
---|
745 | <xs:attribute name="mapkeyref" type="xs:string"/>
|
---|
746 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
747 | <xs:attributeGroup ref="rel-atts"/>
|
---|
748 | <xs:attributeGroup ref="univ-atts"/>
|
---|
749 | <xs:attributeGroup ref="global-atts"/>
|
---|
750 | </xs:attributeGroup>
|
---|
751 |
|
---|
752 |
|
---|
753 | <xs:element name="linktext">
|
---|
754 | <xs:annotation>
|
---|
755 | <xs:documentation>The <<keyword>linktext</keyword>> element provides the literal
|
---|
756 | label or line of text for a link. In most cases, the text of a link can be
|
---|
757 | resolved during processing by cross reference with the target resource. Use
|
---|
758 | the <<keyword>linktext</keyword>> element only when the target cannot be
|
---|
759 | reached, such as when it is a peer or external link.
|
---|
760 | </xs:documentation>
|
---|
761 | </xs:annotation>
|
---|
762 | <xs:complexType>
|
---|
763 | <xs:complexContent>
|
---|
764 | <xs:extension base="linktext.class">
|
---|
765 | <xs:attribute ref="class" default="- topic/linktext "/>
|
---|
766 | </xs:extension>
|
---|
767 | </xs:complexContent>
|
---|
768 | </xs:complexType>
|
---|
769 | </xs:element>
|
---|
770 | <xs:complexType name="linktext.class" mixed="true">
|
---|
771 | <xs:sequence>
|
---|
772 | <xs:group ref="linktext.content"/>
|
---|
773 | </xs:sequence>
|
---|
774 | <xs:attributeGroup ref="linktext.attributes"/>
|
---|
775 | </xs:complexType>
|
---|
776 |
|
---|
777 | <xs:group name="linktext.content">
|
---|
778 | <xs:sequence>
|
---|
779 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
780 | <xs:group ref="words.cnt" minOccurs="0"/>
|
---|
781 | <xs:group ref="ph" minOccurs="0"/>
|
---|
782 | </xs:choice>
|
---|
783 | </xs:sequence>
|
---|
784 | </xs:group>
|
---|
785 |
|
---|
786 | <xs:attributeGroup name="linktext.attributes">
|
---|
787 | <xs:attributeGroup ref="univ-atts"/>
|
---|
788 | <xs:attributeGroup ref="global-atts"/>
|
---|
789 | </xs:attributeGroup>
|
---|
790 |
|
---|
791 |
|
---|
792 | <xs:element name="link">
|
---|
793 | <xs:annotation>
|
---|
794 | <xs:documentation>The <<keyword>link</keyword>> element defines a relationship
|
---|
795 | to another topic. Links represent the types and roles of topics in a web of
|
---|
796 | information, and therefore represent navigational links within that web. The
|
---|
797 | parent structures of link allow authors to define named groups and even sort
|
---|
798 | orders that can be applied to sets of links.
|
---|
799 | </xs:documentation>
|
---|
800 | </xs:annotation>
|
---|
801 | <xs:complexType>
|
---|
802 | <xs:complexContent>
|
---|
803 | <xs:extension base="link.class">
|
---|
804 | <xs:attribute ref="class" default="- topic/link "/>
|
---|
805 | </xs:extension>
|
---|
806 | </xs:complexContent>
|
---|
807 | </xs:complexType>
|
---|
808 | </xs:element>
|
---|
809 | <xs:complexType name="link.class">
|
---|
810 | <xs:sequence>
|
---|
811 | <xs:group ref="link.content"/>
|
---|
812 | </xs:sequence>
|
---|
813 | <xs:attributeGroup ref="link.attributes"/>
|
---|
814 | </xs:complexType>
|
---|
815 |
|
---|
816 | <xs:group name="link.content">
|
---|
817 | <xs:sequence>
|
---|
818 | <xs:sequence>
|
---|
819 | <xs:group ref="linktext" minOccurs="0"/>
|
---|
820 | <xs:group ref="desc" minOccurs="0"/>
|
---|
821 | </xs:sequence>
|
---|
822 | </xs:sequence>
|
---|
823 | </xs:group>
|
---|
824 |
|
---|
825 | <xs:attributeGroup name="link.attributes">
|
---|
826 | <xs:attribute name="href" type="xs:string"/>
|
---|
827 | <xs:attribute name="keyref" type="xs:string"/>
|
---|
828 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
829 | <xs:attribute name="query" type="xs:string"/>
|
---|
830 | <xs:attributeGroup ref="rel-atts"/>
|
---|
831 | <xs:attributeGroup ref="univ-atts"/>
|
---|
832 | <xs:attributeGroup ref="global-atts"/>
|
---|
833 | </xs:attributeGroup>
|
---|
834 |
|
---|
835 | <xs:simpleType name="collection-type.class">
|
---|
836 | <xs:restriction base="xs:string">
|
---|
837 | <xs:enumeration value="choice"/>
|
---|
838 | <xs:enumeration value="unordered"/>
|
---|
839 | <xs:enumeration value="sequence"/>
|
---|
840 | <xs:enumeration value="family"/>
|
---|
841 | <xs:enumeration value="-dita-use-conref-target"/>
|
---|
842 | </xs:restriction>
|
---|
843 | </xs:simpleType>
|
---|
844 |
|
---|
845 | <!-- ================ LINKS GROUPING - END ================ -->
|
---|
846 |
|
---|
847 | <!-- LONG NAME: Abstract -->
|
---|
848 | <!-- <!ELEMENT abstract (%section.notitle.cnt; | %shortdesc;)* > -->
|
---|
849 | <xs:element name="abstract">
|
---|
850 | <xs:complexType>
|
---|
851 | <xs:complexContent>
|
---|
852 | <xs:extension base="abstract.class">
|
---|
853 | <xs:attribute ref="class" default="- topic/abstract " />
|
---|
854 | </xs:extension>
|
---|
855 | </xs:complexContent>
|
---|
856 | </xs:complexType>
|
---|
857 | </xs:element>
|
---|
858 | <xs:complexType name="abstract.class" mixed="true">
|
---|
859 | <xs:sequence>
|
---|
860 | <xs:group ref="abstract.content"/>
|
---|
861 | </xs:sequence>
|
---|
862 | <xs:attributeGroup ref="abstract.attributes"/>
|
---|
863 | </xs:complexType>
|
---|
864 |
|
---|
865 | <xs:group name="abstract.content">
|
---|
866 | <xs:sequence>
|
---|
867 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
868 | <xs:group ref="abstract.cnt" minOccurs="0"/>
|
---|
869 | </xs:choice>
|
---|
870 | </xs:sequence>
|
---|
871 | </xs:group>
|
---|
872 |
|
---|
873 | <xs:group name="abstract.cnt">
|
---|
874 | <xs:sequence>
|
---|
875 | <xs:choice>
|
---|
876 | <xs:group ref="basic.block"/>
|
---|
877 | <xs:group ref="basic.ph"/>
|
---|
878 | <xs:group ref="data.elements.incl"/>
|
---|
879 | <xs:group ref="foreign.unknown.incl"/>
|
---|
880 | <xs:group ref="shortdesc"/>
|
---|
881 | <xs:group ref="txt.incl"/>
|
---|
882 | </xs:choice>
|
---|
883 | </xs:sequence>
|
---|
884 | </xs:group>
|
---|
885 |
|
---|
886 | <xs:attributeGroup name="abstract.attributes">
|
---|
887 | <xs:attribute name="outputclass" type="xs:string"/>
|
---|
888 | <xs:attributeGroup ref="univ-atts"/>
|
---|
889 | <xs:attributeGroup ref="global-atts"/>
|
---|
890 | </xs:attributeGroup>
|
---|
891 |
|
---|
892 | <xs:element name="shortdesc">
|
---|
893 | <xs:annotation>
|
---|
894 | <xs:documentation>The short description (<<keyword>shortdesc</keyword>>) element
|
---|
895 | occurs between the topic title and the topic body, as the initial paragraph-like
|
---|
896 | content of a topic. The short description, which represents the purpose or
|
---|
897 | theme of the topic, is also intended to be used as a link preview and for
|
---|
898 | searching.
|
---|
899 | </xs:documentation>
|
---|
900 | </xs:annotation>
|
---|
901 | <xs:complexType>
|
---|
902 | <xs:complexContent>
|
---|
903 | <xs:extension base="shortdesc.class">
|
---|
904 | <xs:attribute ref="class" default="- topic/shortdesc "/>
|
---|
905 | </xs:extension>
|
---|
906 | </xs:complexContent>
|
---|
907 | </xs:complexType>
|
---|
908 | </xs:element>
|
---|
909 |
|
---|
910 |
|
---|
911 |
|
---|
912 | </xs:schema>
|
---|