VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/schema/base/xsd/mapGroupMod.xsd@ 99507

最後變更 在這個檔案從99507是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 19.6 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- ============================================================= -->
3<!-- HEADER -->
4<!-- ============================================================= -->
5<!-- MODULE: DITA Map Group Domain -->
6<!-- VERSION: 1.2 -->
7<!-- DATE: November 2009 -->
8<!-- -->
9<!-- ============================================================= -->
10
11<!-- ============================================================= -->
12<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
13<!-- -->
14<!-- PURPOSE: Define elements and specialization attributes -->
15<!-- for Map Group Domain -->
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<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
25
26 <!--<!ENTITY mapgroup-d-att "(map mapgroup-d)" >-->
27 <xs:annotation>
28 <xs:appinfo>
29 <dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic mapgroup-d)</dita:domainsModule>
30 </xs:appinfo>
31 <xs:documentation>
32
33 </xs:documentation>
34 </xs:annotation>
35
36 <xs:group name="mapgroup-d-topicref">
37 <xs:choice>
38 <xs:element ref="anchorref"/>
39 <xs:element ref="keydef"/>
40 <xs:element ref="mapref"/>
41 <xs:element ref="topicgroup"/>
42 <xs:element ref="topichead"/>
43 <xs:element ref="topicset"/>
44 <xs:element ref="topicsetref"/>
45 </xs:choice>
46 </xs:group>
47
48 <xs:group name="topichead">
49 <xs:sequence>
50 <xs:choice>
51 <xs:element ref="topichead"/>
52 </xs:choice>
53 </xs:sequence>
54 </xs:group>
55
56 <xs:group name="topicgroup">
57 <xs:sequence>
58 <xs:choice>
59 <xs:element ref="topicgroup"/>
60 </xs:choice>
61 </xs:sequence>
62 </xs:group>
63
64 <xs:group name="anchorref">
65 <xs:sequence>
66 <xs:choice>
67 <xs:element ref="anchorref"/>
68 </xs:choice>
69 </xs:sequence>
70 </xs:group>
71
72 <xs:group name="mapref">
73 <xs:sequence>
74 <xs:choice>
75 <xs:element ref="mapref"/>
76 </xs:choice>
77 </xs:sequence>
78 </xs:group>
79
80 <xs:group name="topicset">
81 <xs:sequence>
82 <xs:choice>
83 <xs:element ref="topicset"/>
84 </xs:choice>
85 </xs:sequence>
86 </xs:group>
87
88 <xs:group name="topicsetref">
89 <xs:sequence>
90 <xs:choice>
91 <xs:element ref="topicsetref"/>
92 </xs:choice>
93 </xs:sequence>
94 </xs:group>
95
96 <xs:group name="keydef">
97 <xs:sequence>
98 <xs:choice>
99 <xs:element ref="keydef"/>
100 </xs:choice>
101 </xs:sequence>
102 </xs:group>
103
104 <xs:attributeGroup name="topicref-atts-without-format">
105 <xs:annotation>
106 <xs:documentation>
107 The %topicref-atts-without-format; parameter entity represents a group of attributes
108 used in numerous map elements: mapref,
109 and topicgroup. The set is similar to those documented in <xref href="topicref-atts.xml">topicref-atts</xref> but
110 excludes the <i><keyword>format</keyword></i> attribute.
111 </xs:documentation>
112 </xs:annotation>
113 <xs:attribute name="collection-type" type="collection-type.class"/>
114 <xs:attribute name="type" type="xs:string"/>
115 <xs:attribute name="processing-role" type="processing-role-att.class" />
116 <xs:attribute name="scope" type="scope-att.class"/>
117 <xs:attribute name="locktitle" type="yesno-att.class"/>
118 <xs:attribute name="linking" type="linkingtypes.class"/>
119 <xs:attribute name="toc" type="yesno-att.class"/>
120 <xs:attribute name="print" type="print-att.class"/>
121 <xs:attribute name="search" type="yesno-att.class"/>
122 <xs:attribute name="chunk" type="xs:string"/>
123 </xs:attributeGroup>
124
125 <xs:element name="topichead">
126 <xs:annotation>
127 <xs:documentation>The &lt;<keyword>topichead</keyword>> element provides a title-only
128 entry in a navigation map, as an alternative to the fully-linked title provided
129 by the &lt;<keyword>topicref</keyword>> element.
130 </xs:documentation>
131 </xs:annotation>
132 <xs:complexType>
133 <xs:complexContent>
134 <xs:extension base="topichead.class">
135 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/topichead " />
136 </xs:extension>
137 </xs:complexContent>
138 </xs:complexType>
139 </xs:element>
140 <xs:complexType name="topichead.class">
141 <xs:sequence>
142 <xs:group ref="topichead.content"/>
143 </xs:sequence>
144 <xs:attributeGroup ref="topichead.attributes"/>
145 </xs:complexType>
146
147 <xs:group name="topichead.content">
148 <xs:sequence>
149 <xs:sequence>
150 <xs:element ref="topicmeta" minOccurs="0" />
151 <xs:choice minOccurs="0" maxOccurs="unbounded">
152 <xs:group ref="navref" />
153 <xs:group ref="anchor" />
154 <xs:group ref="topicref" />
155 <xs:group ref="data.elements.incl"/>
156 </xs:choice>
157 </xs:sequence>
158 </xs:sequence>
159 </xs:group>
160
161 <xs:attributeGroup name="topichead.attributes">
162 <xs:attribute name="navtitle" type="xs:string"/>
163 <xs:attribute name="outputclass" type="xs:string"/>
164 <xs:attribute name="copy-to" type="xs:string"/>
165 <xs:attribute name="keys" type="xs:string"/>
166 <xs:attributeGroup ref="topicref-atts" />
167 <xs:attributeGroup ref="univ-atts"/>
168 <xs:attributeGroup ref="global-atts" />
169 </xs:attributeGroup>
170
171
172 <xs:element name="topicgroup">
173 <xs:annotation>
174 <xs:documentation>The &lt;<keyword>topicgroup</keyword>> element is for creating
175 groups of &lt;<keyword>topicref</keyword>> elements without affecting the
176 hierarchy, as opposed to nested &lt;<keyword>topicref</keyword>> elements
177 within a &lt;<keyword>topicref</keyword>>, which does imply a structural hierarchy.
178 It is typically used outside a hierarchy to identify groups for linking without
179 affecting the resulting toc/navigation output.
180 </xs:documentation>
181 </xs:annotation>
182 <xs:complexType>
183 <xs:complexContent>
184 <xs:extension base="topicgroup.class">
185 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/topicgroup " />
186 </xs:extension>
187 </xs:complexContent>
188 </xs:complexType>
189 </xs:element>
190 <xs:complexType name="topicgroup.class">
191 <xs:sequence>
192 <xs:group ref="topicgroup.content"/>
193 </xs:sequence>
194 <xs:attributeGroup ref="topicgroup.attributes"/>
195 </xs:complexType>
196
197 <xs:group name="topicgroup.content">
198 <xs:sequence>
199 <xs:sequence>
200 <xs:group ref="topicmeta" minOccurs="0" />
201 <xs:choice minOccurs="0" maxOccurs="unbounded">
202 <xs:group ref="navref" />
203 <xs:group ref="anchor" />
204 <xs:group ref="topicref" />
205 <xs:group ref="data.elements.incl"/>
206 </xs:choice>
207 </xs:sequence>
208 </xs:sequence>
209 </xs:group>
210
211 <xs:attributeGroup name="topicgroup.attributes">
212 <xs:attribute name="outputclass" type="xs:string"/>
213 <xs:attributeGroup ref="topicref-atts" />
214 <xs:attributeGroup ref="univ-atts"/>
215 <xs:attributeGroup ref="global-atts" />
216 </xs:attributeGroup>
217
218 <xs:element name="anchorref">
219 <xs:annotation>
220 <xs:documentation>The &lt;<keyword>anchorref</keyword>> specializes &lt;topicref> to set format="ditamap"
221 and type="anchor" defaults for a reference to an &lt;<keyword>anchor</keyword>> to enable push of collections
222 of content smaller than a map onto an anchor.
223 </xs:documentation>
224 </xs:annotation>
225 <xs:complexType>
226 <xs:complexContent>
227 <xs:extension base="anchorref.class">
228 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/anchorref " />
229 </xs:extension>
230 </xs:complexContent>
231 </xs:complexType>
232 </xs:element>
233
234 <xs:complexType name="anchorref.class">
235 <xs:sequence>
236 <xs:group ref="anchorref.content"/>
237 </xs:sequence>
238 <xs:attributeGroup ref="anchorref.attributes"/>
239 </xs:complexType>
240
241 <xs:group name="anchorref.content">
242 <xs:sequence>
243 <xs:sequence>
244 <xs:element ref="topicmeta" minOccurs="0" />
245 <xs:choice minOccurs="0" maxOccurs="unbounded">
246 <xs:group ref="topicref" />
247 <xs:group ref="data.elements.incl"/>
248 </xs:choice>
249 </xs:sequence>
250 </xs:sequence>
251 </xs:group>
252
253 <xs:attributeGroup name="anchorref.attributes">
254 <xs:attribute name="navtitle" type="xs:string"/>
255 <xs:attribute name="href" type="xs:string"/>
256 <xs:attribute name="keyref" type="xs:string"/>
257 <xs:attribute name="keys" type="xs:string"/>
258 <xs:attribute name="query" type="xs:string"/>
259 <xs:attribute name="copy-to" type="xs:string"/>
260 <xs:attribute name="outputclass" type="xs:string"/>
261 <xs:attribute name="collection-type" type="collection-type.class"/>
262 <xs:attribute name="processing-role" type="processing-role-att.class" />
263 <xs:attribute name="type" type="xs:string" default="anchor"/>
264 <xs:attribute name="scope" type="scope-att.class"/>
265 <xs:attribute name="locktitle" type="yesno-att.class"/>
266 <xs:attribute name="format" type="xs:string" default="ditamap"/>
267 <xs:attribute name="linking" type="linkingtypes.class"/>
268 <xs:attribute name="toc" type="yesno-att.class" />
269 <xs:attribute name="print" type="print-att.class"/>
270 <xs:attribute name="search" type="yesno-att.class"/>
271 <xs:attribute name="chunk" type="xs:string" default="to-navigation"/>
272 <xs:attributeGroup ref="univ-atts"/>
273 <xs:attributeGroup ref="global-atts" />
274 </xs:attributeGroup>
275
276 <xs:element name="mapref">
277 <xs:annotation>
278 <xs:documentation>The &lt;<keyword>anchorref</keyword>> specializes &lt;topicref> to set a format="ditamap"
279 default for more intuitive map references
280 </xs:documentation>
281 </xs:annotation>
282 <xs:complexType>
283 <xs:complexContent>
284 <xs:extension base="mapref.class">
285 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/mapref " />
286 </xs:extension>
287 </xs:complexContent>
288 </xs:complexType>
289 </xs:element>
290
291 <xs:complexType name="mapref.class">
292 <xs:sequence>
293 <xs:group ref="mapref.content"/>
294 </xs:sequence>
295 <xs:attributeGroup ref="mapref.attributes"/>
296 </xs:complexType>
297
298 <xs:group name="mapref.content">
299 <xs:sequence>
300 <xs:sequence>
301 <xs:element ref="topicmeta" minOccurs="0" />
302 <xs:choice minOccurs="0" maxOccurs="unbounded">
303 <xs:group ref="data.elements.incl"/>
304 </xs:choice>
305 </xs:sequence>
306 </xs:sequence>
307 </xs:group>
308
309 <xs:attributeGroup name="mapref.attributes">
310 <xs:attribute name="navtitle" type="xs:string"/>
311 <xs:attribute name="href" type="xs:string"/>
312 <xs:attribute name="keyref" type="xs:string"/>
313 <xs:attribute name="keys" type="xs:string"/>
314 <xs:attribute name="query" type="xs:string"/>
315 <xs:attribute name="copy-to" type="xs:string"/>
316 <xs:attribute name="outputclass" type="xs:string"/>
317 <xs:attributeGroup ref="topicref-atts-without-format" />
318 <xs:attribute name="format" type="xs:string" default="ditamap"/>
319 <xs:attributeGroup ref="univ-atts"/>
320 <xs:attributeGroup ref="global-atts" />
321 </xs:attributeGroup>
322
323 <xs:element name="topicset">
324 <xs:annotation>
325 <xs:documentation>The &lt;<keyword>topicset</keyword>> specializes &lt;topicref> to set a chunk="to-navigation"
326 default and required id attribute to make it easy to delimit standalone, reusable collections of content within a
327 map (such as lessons within a course or large tasks explained by a collection of discrete task topics).
328 </xs:documentation>
329 </xs:annotation>
330 <xs:complexType>
331 <xs:complexContent>
332 <xs:extension base="topicset.class">
333 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/topicset " />
334 </xs:extension>
335 </xs:complexContent>
336 </xs:complexType>
337 </xs:element>
338
339 <xs:complexType name="topicset.class">
340 <xs:sequence>
341 <xs:group ref="topicset.content"/>
342 </xs:sequence>
343 <xs:attributeGroup ref="topicset.attributes"/>
344 </xs:complexType>
345
346 <xs:group name="topicset.content">
347 <xs:sequence>
348 <xs:sequence>
349 <xs:element ref="topicmeta" minOccurs="0" />
350 <xs:choice minOccurs="0" maxOccurs="unbounded">
351 <xs:group ref="topicref" />
352 <xs:group ref="anchor" />
353 <xs:group ref="navref" />
354 <xs:group ref="data.elements.incl"/>
355 </xs:choice>
356 </xs:sequence>
357 </xs:sequence>
358 </xs:group>
359
360 <xs:attributeGroup name="topicset.attributes">
361 <xs:attribute name="navtitle" type="xs:string"/>
362 <xs:attribute name="href" type="xs:string"/>
363 <xs:attribute name="keyref" type="xs:string"/>
364 <xs:attribute name="keys" type="xs:string"/>
365 <xs:attribute name="query" type="xs:string"/>
366 <xs:attribute name="copy-to" type="xs:string"/>
367 <xs:attribute name="outputclass" type="xs:string"/>
368 <!-- topic-ref-att plus chuck defaulted to "to-navigation" -->
369 <xs:attribute name="collection-type" type="collection-type.class"/>
370 <xs:attribute name="processing-role" type="processing-role-att.class" />
371 <xs:attribute name="type" type="xs:string"/>
372 <xs:attribute name="scope" type="scope-att.class"/>
373 <xs:attribute name="locktitle" type="yesno-att.class"/>
374 <xs:attribute name="format" type="xs:string"/>
375 <xs:attribute name="linking" type="linkingtypes.class"/>
376 <xs:attribute name="toc" type="yesno-att.class"/>
377 <xs:attribute name="print" type="print-att.class"/>
378 <xs:attribute name="search" type="yesno-att.class"/>
379 <xs:attribute name="chunk" type="xs:string" default="to-navigation"/>
380 <xs:attribute name="id" type="xs:NMTOKEN" use="required"/>
381 <xs:attributeGroup ref="select-atts"/>
382 <xs:attributeGroup ref="localization-atts"/>
383 <xs:attributeGroup ref="conref-atts" />
384 <xs:attributeGroup ref="global-atts" />
385 </xs:attributeGroup>
386
387 <xs:element name="topicsetref">
388 <xs:annotation>
389 <xs:documentation>The &lt;<keyword>topicsetref</keyword>> pecializes &lt;topicref> to set format="ditamap" and
390 type="branch" defaults for a reference to a &lt;topicset> to enable reuse of small collections within a
391 map (especially for task composition approaches in which multiple larger task collections reuse smaller component task collections).
392 </xs:documentation>
393 </xs:annotation>
394 <xs:complexType>
395 <xs:complexContent>
396 <xs:extension base="topicsetref.class">
397 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/topicsetref " />
398 </xs:extension>
399 </xs:complexContent>
400 </xs:complexType>
401 </xs:element>
402
403 <xs:complexType name="topicsetref.class">
404 <xs:sequence>
405 <xs:group ref="topicsetref.content"/>
406 </xs:sequence>
407 <xs:attributeGroup ref="topicsetref.attributes"/>
408 </xs:complexType>
409
410 <xs:group name="topicsetref.content">
411 <xs:sequence>
412 <xs:sequence>
413 <xs:element ref="topicmeta" minOccurs="0" />
414 <xs:choice minOccurs="0" maxOccurs="unbounded">
415 <xs:group ref="topicref" />
416 <xs:group ref="data.elements.incl"/>
417 </xs:choice>
418 </xs:sequence>
419 </xs:sequence>
420 </xs:group>
421
422 <xs:attributeGroup name="topicsetref.attributes">
423 <xs:attribute name="navtitle" type="xs:string"/>
424 <xs:attribute name="href" type="xs:string"/>
425 <xs:attribute name="keyref" type="xs:string"/>
426 <xs:attribute name="keys" type="xs:string"/>
427 <xs:attribute name="query" type="xs:string"/>
428 <xs:attribute name="copy-to" type="xs:string"/>
429 <xs:attribute name="outputclass" type="xs:string"/>
430 <!-- topic-ref-att plus chuck fixed to "to-navigation" -->
431 <xs:attribute name="collection-type" type="collection-type.class"/>
432 <xs:attribute name="processing-role" type="processing-role-att.class" />
433 <xs:attribute name="type" type="xs:string" default="topicset"/>
434 <xs:attribute name="scope" type="scope-att.class"/>
435 <xs:attribute name="locktitle" type="yesno-att.class"/>
436 <xs:attribute name="format" type="xs:string" default="ditamap"/>
437 <xs:attribute name="linking" type="linkingtypes.class"/>
438 <xs:attribute name="toc" type="yesno-att.class"/>
439 <xs:attribute name="print" type="print-att.class"/>
440 <xs:attribute name="search" type="yesno-att.class"/>
441 <xs:attribute name="chunk" type="xs:string" />
442 <xs:attributeGroup ref="univ-atts"/>
443 <xs:attributeGroup ref="global-atts" />
444 </xs:attributeGroup>
445
446 <xs:element name="keydef">
447 <xs:annotation>
448 <xs:documentation>The &lt;<keyword>keydef</keyword>> specializes &lt;topicref> to set a chunk="to-navigation"
449 default and required id attribute to make it easy to delimit standalone, reusable collections of content within a
450 map (such as lessons within a course or large tasks explained by a collection of discrete task topics).
451 </xs:documentation>
452 </xs:annotation>
453 <xs:complexType>
454 <xs:complexContent>
455 <xs:extension base="keydef.class">
456 <xs:attribute ref="class" default="+ map/topicref mapgroup-d/keydef " />
457 </xs:extension>
458 </xs:complexContent>
459 </xs:complexType>
460 </xs:element>
461
462 <xs:complexType name="keydef.class">
463 <xs:sequence>
464 <xs:group ref="keydef.content"/>
465 </xs:sequence>
466 <xs:attributeGroup ref="keydef.attributes"/>
467 </xs:complexType>
468
469 <xs:group name="keydef.content">
470 <xs:sequence>
471 <xs:sequence>
472 <xs:element ref="topicmeta" minOccurs="0" />
473 <xs:choice minOccurs="0" maxOccurs="unbounded">
474 <xs:group ref="topicref" />
475 <xs:group ref="anchor" />
476 <xs:group ref="navref" />
477 <xs:group ref="data.elements.incl"/>
478 </xs:choice>
479 </xs:sequence>
480 </xs:sequence>
481 </xs:group>
482
483 <xs:attributeGroup name="keydef.attributes">
484 <xs:attribute name="navtitle" type="xs:string"/>
485 <xs:attribute name="href" type="xs:string"/>
486 <xs:attribute name="keyref" type="xs:string"/>
487 <xs:attribute name="keys" type="xs:string" use="required"/>
488 <xs:attribute name="query" type="xs:string"/>
489 <xs:attribute name="copy-to" type="xs:string"/>
490 <xs:attribute name="outputclass" type="xs:string"/>
491 <xs:attribute name="collection-type" type="collection-type.class"/>
492 <xs:attribute name="processing-role" type="processing-role-att.class" default="resource-only"/>
493 <xs:attribute name="type" type="xs:string"/>
494 <xs:attribute name="scope" type="scope-att.class"/>
495 <xs:attribute name="locktitle" type="yesno-att.class"/>
496 <xs:attribute name="format" type="xs:string"/>
497 <xs:attribute name="linking" type="linkingtypes.class" />
498 <xs:attribute name="toc" type="yesno-att.class" />
499 <xs:attribute name="print" type="print-att.class" />
500 <xs:attribute name="search" type="yesno-att.class"/>
501 <xs:attribute name="chunk" type="xs:string"/>
502 <xs:attributeGroup ref="univ-atts"/>
503 <xs:attributeGroup ref="global-atts" />
504 </xs:attributeGroup>
505
506</xs:schema>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette