VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/schema/base/xsd/mapMod.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
檔案大小: 26.4 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- ============================================================= -->
3<!-- HEADER -->
4<!-- ============================================================= -->
5<!-- ============================================================= -->
6<!-- MODULE: DITA MAP XSD Module -->
7<!-- VERSION: 1.2 -->
8<!-- DATE: November 2009 -->
9<!-- -->
10<!-- ============================================================= -->
11
12<!-- ============================================================= -->
13<!-- SYSTEM: Darwin Information Typing Architecture (DITA) -->
14<!-- -->
15<!-- PURPOSE: W3C XML Schema to describe DITA maps -->
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<!-- 2005.11.15 EAS: Moved domains attribute definition to -->
26<!-- map.xsd -->
27<!-- ============================================================= -->
28 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/">
29
30 <!-- ======= IMPORT - XML attributes and namespace ======= -->
31 <xs:import namespace="http://dita.oasis-open.org/architecture/2005/" schemaLocation="urn:oasis:names:tc:dita:xsd:ditaarch.xsd:1.2"/>
32
33 <!-- STRUCTURAL MEMBERS ======================================================== -->
34 <!-- things that can be nested under topic after body - redefined when specializing -->
35 <!--xs:simpleType name="topicreftypes.class">
36 <xs:restriction base="xs:string">
37 <xs:enumeration value="topic"/>
38 <xs:enumeration value="concept"/>
39 <xs:enumeration value="task"/>
40 <xs:enumeration value="reference"/>
41 <xs:enumeration value="external"/>
42 <xs:enumeration value="local"/>
43 </xs:restriction>
44 </xs:simpleType>-->
45
46 <xs:attributeGroup name="topicref-atts">
47 <xs:annotation>
48 <xs:documentation>
49 The %topicref-atts; parameter entity represents a group of attributes
50 used in numerous map elements: map, topicref, relcolspec, relcell, topichead,
51 and topicgroup. The set is similar to those documented in <xref href="topicref-atts-no-toc.xml">topicref-atts-no-toc</xref>
52 but includes the <i><keyword>toc</keyword></i> attribute.
53 </xs:documentation>
54 </xs:annotation>
55 <xs:attribute name="collection-type" type="collection-type.class"/>
56 <xs:attribute name="type" type="xs:string"/>
57 <xs:attribute name="processing-role" type="processing-role-att.class" />
58 <xs:attribute name="scope" type="scope-att.class"/>
59 <xs:attribute name="locktitle" type="yesno-att.class"/>
60 <xs:attribute name="format" type="xs:string"/>
61 <xs:attribute name="linking" type="linkingtypes.class"/>
62 <xs:attribute name="toc" type="yesno-att.class"/>
63 <xs:attribute name="print" type="print-att.class"/>
64 <xs:attribute name="search" type="yesno-att.class"/>
65 <xs:attribute name="chunk" type="xs:string"/>
66 </xs:attributeGroup>
67
68 <xs:simpleType name="collection-type.class">
69 <xs:restriction base="xs:string">
70 <xs:enumeration value="choice"/>
71 <xs:enumeration value="unordered"/>
72 <xs:enumeration value="sequence"/>
73 <xs:enumeration value="family"/>
74 <xs:enumeration value="-dita-use-conref-target"/>
75 </xs:restriction>
76 </xs:simpleType>
77
78 <xs:simpleType name="linkingtypes.class">
79 <xs:restriction base="xs:string">
80 <xs:enumeration value="targetonly"/>
81 <xs:enumeration value="sourceonly"/>
82 <xs:enumeration value="normal"/>
83 <xs:enumeration value="none"/>
84 <xs:enumeration value="-dita-use-conref-target"/>
85 </xs:restriction>
86 </xs:simpleType>
87
88
89 <xs:attributeGroup name="topicref-atts-no-toc">
90 <xs:annotation>
91 <xs:documentation>
92 The %topicref-atts-no-toc; parameter entity represents the set
93 of attributes used in the
94 <xref href="reltable.xml">reltable</xref>
95 map
96 element. The set is similar to those documented in
97 <xref href="topicref-atts.xml">topicref-atts</xref>
98 but
99 for &lt;<keyword>reltable</keyword>&gt; the <i><keyword>toc</keyword></i> attribute
100 defaults to <q>no</q>. For the other elements that use the %topicref-atts;
101 group declaration, the <i><keyword>toc</keyword></i> attribute doesn't have
102 a default; they can inherit their <i><keyword>toc</keyword></i> value from
103 the nearest container, otherwise it functions upon output as if set to <q>yes</q>.
104 </xs:documentation>
105 </xs:annotation>
106 <xs:attribute name="collection-type" type="collection-type.class"/>
107 <xs:attribute name="type" type="xs:string"/>
108 <xs:attribute name="processing-role" type="processing-role-att.class" />
109 <xs:attribute name="scope" type="scope-att.class"/>
110 <xs:attribute name="locktitle" type="yesno-att.class"/>
111 <xs:attribute name="format" type="xs:string"/>
112 <xs:attribute name="linking" type="linkingtypes.class"/>
113 <xs:attribute name="toc" type="yesno-att.class" default="no"/>
114 <xs:attribute name="print" type="print-att.class"/>
115 <xs:attribute name="search" type="yesno-att.class"/>
116 <xs:attribute name="chunk" type="xs:string"/>
117 </xs:attributeGroup>
118
119 <xs:simpleType name="print-att.class">
120 <xs:restriction base="xs:string">
121 <xs:enumeration value="yes"/>
122 <xs:enumeration value="no"/>
123 <xs:enumeration value="printonly"/>
124 <xs:enumeration value="-dita-use-conref-target"/>
125 </xs:restriction>
126 </xs:simpleType>
127
128
129
130 <xs:element name="map">
131 <xs:annotation>
132 <xs:documentation>
133 The &lt;<keyword>map</keyword>&gt; element is used to define a map
134 which describes the relationships among a set of DITA topics. Maps consist
135 of references to topics organized into hierarchies and tables. Maps provide
136 a way to express these relationships in a single common format that can be
137 used for different outputs.
138 </xs:documentation>
139 </xs:annotation>
140 <xs:complexType>
141 <xs:complexContent>
142 <xs:extension base="map.class">
143 <xs:attribute ref="class" default="- map/map " />
144 </xs:extension>
145 </xs:complexContent>
146 </xs:complexType>
147 </xs:element>
148 <xs:complexType name="map.class" >
149 <xs:sequence>
150 <xs:group ref="map.content"/>
151 </xs:sequence>
152 <xs:attributeGroup ref="map.attributes"/>
153 </xs:complexType>
154
155 <xs:group name="map.content">
156 <xs:sequence>
157 <xs:sequence>
158 <xs:group ref="title" minOccurs="0" />
159 <xs:group ref="topicmeta" minOccurs="0" />
160 <xs:choice minOccurs="0" maxOccurs="unbounded">
161 <xs:group ref="navref" />
162 <xs:group ref="anchor" />
163 <xs:group ref="topicref" />
164 <xs:group ref="reltable" />
165 <xs:group ref="data.elements.incl" />
166 </xs:choice>
167 </xs:sequence>
168 </xs:sequence>
169 </xs:group>
170
171 <xs:attributeGroup name="map.attributes">
172 <xs:attribute name="title" type="xs:string" />
173 <xs:attribute name="id" type="xs:ID" />
174 <xs:attributeGroup ref="conref-atts" />
175 <xs:attribute name="anchorref" type="xs:string" />
176 <xs:attribute name="outputclass" type="xs:string" />
177 <xs:attributeGroup ref="domains-att"/>
178 <xs:attributeGroup ref="topicref-atts" />
179 <xs:attributeGroup ref="select-atts" />
180 <xs:attributeGroup ref="localization-atts"/>
181 <xs:attribute ref="ditaarch:DITAArchVersion"/>
182 <xs:attributeGroup ref="global-atts" />
183 </xs:attributeGroup>
184
185 <xs:element name="navref">
186 <xs:annotation>
187 <xs:documentation>
188 The &lt;<keyword>navref</keyword>&gt; element references a map file
189 from within a map file. The reference is resolved at runtime for Eclipse
190 navigation, typically to pull together the navigation for multiple components
191 into a product navigation. <ph conref="commonLRdefs.xml#commonLRdefs/only4eclipse"></ph>
192 </xs:documentation>
193 </xs:annotation>
194 <xs:complexType>
195 <xs:complexContent>
196 <xs:extension base="navref.class">
197 <xs:attribute ref="class" default="- map/navref " />
198 </xs:extension>
199 </xs:complexContent>
200 </xs:complexType>
201 </xs:element>
202 <xs:complexType name="navref.class">
203 <xs:attributeGroup ref="navref.attributes"/>
204 </xs:complexType>
205
206 <xs:attributeGroup name="navref.attributes">
207 <xs:attributeGroup ref="univ-atts"/>
208 <xs:attribute name="outputclass" type="xs:string" />
209 <xs:attribute name="mapref" type="xs:string"/>
210 <xs:attribute name="keyref" type="xs:string"/>
211 <xs:attributeGroup ref="global-atts" />
212 </xs:attributeGroup>
213
214 <xs:element name="topicref">
215 <xs:annotation>
216 <xs:documentation>
217 The &lt;<keyword>topicref</keyword>&gt; element designates a topic
218 (such as a concept, task, or reference) as a link in a DITA map. A &lt;<keyword>topicref</keyword>&gt;
219 can contain other&lt;<keyword>topicref</keyword>&gt; elements, allowing you to
220 express navigation or table-of-contents hierarchies, as well as implying relationships
221 between the containing &lt;<keyword>topicref</keyword>&gt; and its children.
222 You can set the collection-type of a container &lt;<keyword>topicref</keyword>&gt;
223 to determine how its children are related to each other. Relationships end
224 up expressed as links in the output (with each participant in a relationship
225 having links to the other participants).
226 </xs:documentation>
227 </xs:annotation>
228 <xs:complexType>
229 <xs:complexContent>
230 <xs:extension base="topicref.class">
231 <xs:attribute ref="class" default="- map/topicref " />
232 </xs:extension>
233 </xs:complexContent>
234 </xs:complexType>
235 </xs:element>
236 <xs:complexType name="topicref.class">
237 <xs:sequence>
238 <xs:group ref="topicref.content"/>
239 </xs:sequence>
240 <xs:attributeGroup ref="topicref.attributes"/>
241 </xs:complexType>
242
243 <xs:group name="topicref.content">
244 <xs:sequence>
245 <xs:sequence>
246 <xs:group ref="topicmeta" minOccurs="0"/>
247 <xs:choice minOccurs="0" maxOccurs="unbounded">
248 <xs:group ref="navref" />
249 <xs:group ref="anchor" />
250 <xs:group ref="topicref" />
251 <xs:group ref="data.elements.incl" />
252 </xs:choice>
253 </xs:sequence>
254 </xs:sequence>
255 </xs:group>
256
257 <xs:attributeGroup name="topicref.attributes">
258 <xs:attribute name="navtitle" type="xs:string"/>
259 <xs:attribute name="href" type="xs:string"/>
260 <xs:attribute name="keys" type="xs:string"/>
261 <xs:attribute name="keyref" type="xs:string"/>
262 <xs:attribute name="query" type="xs:string"/>
263 <xs:attribute name="copy-to" type="xs:string"/>
264 <xs:attributeGroup ref="topicref-atts" />
265 <xs:attributeGroup ref="univ-atts" />
266 <xs:attribute name="outputclass" type="xs:string"/>
267 <xs:attributeGroup ref="global-atts" />
268 </xs:attributeGroup>
269
270 <xs:element name="reltable">
271 <xs:annotation>
272 <xs:documentation>
273 The relationship table (&lt;<keyword>reltable</keyword>&gt;) defines
274 relationships between topics, based on the familiar table model of rows (&lt;<keyword>relrow</keyword>&gt;),
275 columns (&lt;<keyword>relheader</keyword>&gt;), and cells (&lt;<keyword>relcell</keyword>>).
276 The &lt;<keyword>relcell</keyword>&gt; elements can contain &lt;<keyword>topicref</keyword>&gt;
277 elements, which are then related to other &lt;<keyword>topicref</keyword>&gt;
278 elements in the same row (although not necessarily in the same cell). By default,
279 the contents of a &lt;<keyword>reltable</keyword>&gt; element are not output
280 for navigation or TOC purposes, and are used only to define relationships
281 that can be expressed as topic-to-topic links.
282 </xs:documentation>
283 </xs:annotation>
284 <xs:complexType>
285 <xs:complexContent>
286 <xs:extension base="reltable.class">
287 <xs:attribute ref="class" default="- map/reltable " />
288 </xs:extension>
289 </xs:complexContent>
290 </xs:complexType>
291 </xs:element>
292 <xs:complexType name="reltable.class">
293 <xs:sequence>
294 <xs:group ref="reltable.content"/>
295 </xs:sequence>
296 <xs:attributeGroup ref="reltable.attributes"/>
297 </xs:complexType>
298
299 <xs:group name="reltable.content">
300 <xs:sequence>
301 <xs:sequence>
302 <xs:group ref="topicmeta" minOccurs="0" />
303 <xs:group ref="relheader" minOccurs="0" />
304 <xs:group ref="relrow" maxOccurs="unbounded" />
305 </xs:sequence>
306 </xs:sequence>
307 </xs:group>
308
309 <xs:attributeGroup name="reltable.attributes">
310 <xs:attribute name="title" type="xs:string" />
311 <xs:attributeGroup ref="topicref-atts-no-toc" />
312 <xs:attributeGroup ref="univ-atts" />
313 <xs:attribute name="outputclass" type="xs:string"/>
314 <xs:attributeGroup ref="global-atts" />
315 </xs:attributeGroup>
316
317 <xs:element name="relheader">
318 <xs:annotation>
319 <xs:documentation>
320 The &lt;<keyword>relheader</keyword>&gt; element is a row of column
321 definitions (&lt;<keyword>relcolspec</keyword>&gt; elements) in a relationship
322 table. Each table can have only one set of column definitions.
323 </xs:documentation>
324 </xs:annotation>
325 <xs:complexType>
326 <xs:complexContent>
327 <xs:extension base="relheader.class">
328 <xs:attribute ref="class" default="- map/relheader " />
329 </xs:extension>
330 </xs:complexContent>
331 </xs:complexType>
332 </xs:element>
333 <xs:complexType name="relheader.class">
334 <xs:sequence>
335 <xs:group ref="relheader.content"/>
336 </xs:sequence>
337 <xs:attributeGroup ref="relheader.attributes"/>
338 </xs:complexType>
339
340 <xs:group name="relheader.content">
341 <xs:sequence>
342 <xs:sequence maxOccurs="unbounded">
343 <xs:group ref="relcolspec" />
344 </xs:sequence>
345 </xs:sequence>
346 </xs:group>
347
348 <xs:attributeGroup name="relheader.attributes">
349 <xs:attributeGroup ref="univ-atts" />
350 <xs:attributeGroup ref="global-atts" />
351 </xs:attributeGroup>
352
353 <xs:element name="relcolspec">
354 <xs:annotation>
355 <xs:documentation>
356 A column definition in the relationship table. You can use &lt;<keyword>relcolspec</keyword>&gt;
357 column definitions to set defaults for the attributes of &lt;<keyword>topicref</keyword>&gt;
358 elements in the column. For example, you can set type="concept" to treat all
359 untyped &lt;<keyword>topicref</keyword>&gt; elements in the column as concepts.
360 </xs:documentation>
361 </xs:annotation>
362 <xs:complexType>
363 <xs:complexContent>
364 <xs:extension base="relcolspec.class">
365 <xs:attribute ref="class" default="- map/relcolspec " />
366 </xs:extension>
367 </xs:complexContent>
368 </xs:complexType>
369 </xs:element>
370 <!-- <!ELEMENT relcolspec ((%title;)?, (%topicmeta;)?, (%topicref)*)> #12048 -->
371 <xs:complexType name="relcolspec.class">
372 <xs:sequence>
373 <xs:group ref="relcolspec.content"/>
374 </xs:sequence>
375 <xs:attributeGroup ref="relcolspec.attributes"/>
376 </xs:complexType>
377
378 <xs:group name="relcolspec.content">
379 <xs:sequence>
380 <xs:sequence>
381 <xs:group ref="title" minOccurs="0"/>
382 <xs:group ref="topicmeta" minOccurs="0"/>
383 <xs:group ref="topicref" minOccurs="0" maxOccurs="unbounded"/>
384 </xs:sequence>
385 </xs:sequence>
386 </xs:group>
387
388 <xs:attributeGroup name="relcolspec.attributes">
389 <xs:attributeGroup ref="univ-atts" />
390 <xs:attributeGroup ref="topicref-atts" />
391 <xs:attribute name="outputclass" type="xs:string"/>
392 <xs:attributeGroup ref="global-atts" />
393 </xs:attributeGroup>
394
395 <xs:element name="relrow">
396 <xs:annotation>
397 <xs:documentation>
398 A &lt;<keyword>relrow</keyword>&gt; is a row in the relationship table.
399 This creates a relationship between the cells in the row, which will end up
400 expressed as links among the &lt;<keyword>topicref</keyword>&gt; elements in
401 the cells.
402 </xs:documentation>
403 </xs:annotation>
404 <xs:complexType>
405 <xs:complexContent>
406 <xs:extension base="relrow.class">
407 <xs:attribute ref="class" default="- map/relrow " />
408 </xs:extension>
409 </xs:complexContent>
410 </xs:complexType>
411 </xs:element>
412 <xs:complexType name="relrow.class">
413 <xs:sequence>
414 <xs:group ref="relrow.content"/>
415 </xs:sequence>
416 <xs:attributeGroup ref="relrow.attributes"/>
417 </xs:complexType>
418
419 <xs:group name="relrow.content">
420 <xs:sequence>
421 <xs:sequence minOccurs="0" maxOccurs="unbounded">
422 <xs:group ref="relcell" />
423 </xs:sequence>
424 </xs:sequence>
425 </xs:group>
426
427 <xs:attributeGroup name="relrow.attributes">
428 <xs:attributeGroup ref="univ-atts" />
429 <xs:attribute name="outputclass" type="xs:string"/>
430 <xs:attributeGroup ref="global-atts" />
431 </xs:attributeGroup>
432
433 <xs:element name="relcell">
434 <xs:annotation>
435 <xs:documentation>
436 A &lt;<keyword>relcell</keyword>&gt; element is a cell in the relationship
437 table. The &lt;<keyword>topicref</keyword>&gt; elements it contains will be related
438 to topicrefs in other cells of the same row. By default, topicrefs in the
439 same cell are not related to each other, unless you change the relcell's collection-type
440 attribute to indicate that they are related.
441 </xs:documentation>
442 </xs:annotation>
443 <xs:complexType>
444 <xs:complexContent>
445 <xs:extension base="relcell.class">
446 <xs:attribute ref="class" default="- map/relcell " />
447 </xs:extension>
448 </xs:complexContent>
449 </xs:complexType>
450 </xs:element>
451 <xs:complexType name="relcell.class">
452 <xs:sequence>
453 <xs:group ref="relcell.content"/>
454 </xs:sequence>
455 <xs:attributeGroup ref="relcell.attributes"/>
456 </xs:complexType>
457
458 <xs:group name="relcell.content">
459 <xs:sequence>
460 <xs:choice minOccurs="0" maxOccurs="unbounded">
461 <xs:group ref="topicref" />
462 <xs:group ref="data.elements.incl" />
463 </xs:choice>
464 </xs:sequence>
465 </xs:group>
466
467 <xs:attributeGroup name="relcell.attributes">
468 <xs:attributeGroup ref="univ-atts" />
469 <xs:attributeGroup ref="topicref-atts" />
470 <xs:attribute name="outputclass" type="xs:string"/>
471 <xs:attributeGroup ref="global-atts" />
472 </xs:attributeGroup>
473
474
475 <xs:element name="anchor">
476 <xs:annotation>
477 <xs:documentation>
478 The &lt;<keyword>anchor</keyword>&gt; element is used for runtime
479 integration of navigation. It provides an integration point that another map
480 can point to in order to insert its navigation into the current navigation
481 tree. It is currently supported by Eclipse output only.
482 </xs:documentation>
483 </xs:annotation>
484 <xs:complexType>
485 <xs:complexContent>
486 <xs:extension base="anchor.class">
487 <xs:attribute ref="class" default="- map/anchor " />
488 </xs:extension>
489 </xs:complexContent>
490 </xs:complexType>
491 </xs:element>
492 <xs:complexType name="anchor.class">
493 <xs:attributeGroup ref="anchor.attributes"/>
494 </xs:complexType>
495
496 <xs:attributeGroup name="anchor.attributes">
497 <xs:attribute name="id" type="xs:ID" use="required"/>
498 <xs:attribute name="outputclass" type="xs:string"/>
499 <xs:attributeGroup ref="conref-atts" />
500 <xs:attributeGroup ref="localization-atts"/>
501 <xs:attributeGroup ref="select-atts" />
502 <xs:attributeGroup ref="global-atts" />
503 </xs:attributeGroup>
504
505 <xs:element name="topicmeta">
506 <xs:annotation>
507 <xs:documentation>
508 The &lt;<keyword>topicmeta</keyword>&gt; element defines the metadata
509 that applies to a topic and the topic's children. When creating links, it
510 can also be used to override the title and short description of the topic.
511 In addition, it can insert index entries through the &lt;<keyword>keywords</keyword>&gt;
512 element.
513 </xs:documentation>
514 </xs:annotation>
515 <xs:complexType>
516 <xs:complexContent>
517 <xs:extension base="topicmeta.class">
518 <xs:attribute ref="class" default="- map/topicmeta " />
519 </xs:extension>
520 </xs:complexContent>
521 </xs:complexType>
522 </xs:element>
523 <xs:complexType name="topicmeta.class" >
524 <xs:sequence>
525 <xs:group ref="topicmeta.content"/>
526 </xs:sequence>
527 <xs:attributeGroup ref="topicmeta.attributes"/>
528 </xs:complexType>
529
530 <xs:group name="topicmeta.content">
531 <xs:sequence>
532 <xs:sequence>
533 <xs:group ref="navtitle" minOccurs="0"/>
534 <xs:group ref="linktext" minOccurs="0"/>
535 <xs:group ref="searchtitle" minOccurs="0"/>
536 <xs:group ref="shortdesc" minOccurs="0"/>
537 <xs:group ref="author" minOccurs="0" maxOccurs="unbounded"/>
538 <xs:group ref="source" minOccurs="0"/>
539 <xs:group ref="publisher" minOccurs="0"/>
540 <xs:group ref="copyright" minOccurs="0" maxOccurs="unbounded"/>
541 <xs:group ref="critdates" minOccurs="0"/>
542 <xs:group ref="permissions" minOccurs="0"/>
543 <xs:group ref="metadata" minOccurs="0" maxOccurs="unbounded"/>
544 <xs:group ref="audience" minOccurs="0" maxOccurs="unbounded"/>
545 <xs:group ref="category" minOccurs="0" maxOccurs="unbounded"/>
546 <xs:group ref="keywords" minOccurs="0" maxOccurs="unbounded"/>
547 <xs:group ref="prodinfo" minOccurs="0" maxOccurs="unbounded"/>
548 <xs:group ref="othermeta" minOccurs="0" maxOccurs="unbounded"/>
549 <xs:group ref="resourceid" minOccurs="0" maxOccurs="unbounded"/>
550 <xs:choice minOccurs="0" maxOccurs="unbounded">
551 <xs:group ref="data.elements.incl" />
552 <xs:group ref="foreign.unknown.incl" />
553 </xs:choice>
554 </xs:sequence>
555 </xs:sequence>
556 </xs:group>
557
558 <xs:attributeGroup name="topicmeta.attributes">
559 <xs:attribute name="lockmeta" type="yesno-att.class"/>
560 <xs:attributeGroup ref="univ-atts"/>
561 <xs:attributeGroup ref="global-atts" />
562 </xs:attributeGroup>
563
564 <xs:element name="linktext">
565 <xs:annotation>
566 <xs:documentation>
567 The &lt;<keyword>linktext</keyword>&gt; element provides the literal
568 label or line of text for a link. In most cases, the text of a link can be
569 resolved during processing by cross reference with the target resource. Use
570 the &lt;<keyword>linktext</keyword>&gt; element only when the target cannot be
571 reached, such as when it is a peer or external link.
572 </xs:documentation>
573 </xs:annotation>
574 <xs:complexType>
575 <xs:complexContent>
576 <xs:extension base="linktext.class">
577 <xs:attribute ref="class" default="- map/linktext " />
578 </xs:extension>
579 </xs:complexContent>
580 </xs:complexType>
581 </xs:element>
582 <xs:complexType name="linktext.class" mixed="true">
583 <xs:sequence>
584 <xs:group ref="linktext.content"/>
585 </xs:sequence>
586 <xs:attributeGroup ref="linktext.attributes"/>
587 </xs:complexType >
588
589 <xs:group name="linktext.content">
590 <xs:sequence>
591 <xs:choice minOccurs="0" maxOccurs="unbounded">
592 <xs:group ref="words.cnt"/>
593 <xs:group ref="ph"/>
594 </xs:choice>
595 </xs:sequence>
596 </xs:group>
597
598 <xs:attributeGroup name="linktext.attributes">
599 <xs:attribute name="outputclass" type="xs:string"/>
600 <xs:attributeGroup ref="univ-atts"/>
601 <xs:attributeGroup ref="global-atts" />
602 </xs:attributeGroup>
603
604 <xs:element name="searchtitle">
605 <xs:annotation>
606 <xs:documentation>
607 When your DITA topic is transformed to XHTML, the &lt;<keyword>searchtitle</keyword>&gt;
608 element is used to create a title element at the top of the resulting HTML
609 file. This title is normally used in search result summaries by some search
610 engines, such as that in Eclipse (<xref format="html" href="http://eclipse.org" scope="external">http://eclipse.org</xref>); if not set, the XHTML's
611 title element defaults to the source topic's title content (which may not
612 be as well optimized for search summaries)
613 </xs:documentation>
614 </xs:annotation>
615 <xs:complexType>
616 <xs:complexContent>
617 <xs:extension base="searchtitle.class">
618 <xs:attribute ref="class" default="- map/searchtitle " />
619 </xs:extension>
620 </xs:complexContent>
621 </xs:complexType>
622 </xs:element>
623 <xs:complexType name="searchtitle.class" mixed="true">
624 <xs:sequence>
625 <xs:group ref="searchtitle.content"/>
626 </xs:sequence>
627 <xs:attributeGroup ref="searchtitle.attributes"/>
628 </xs:complexType >
629
630 <xs:group name="searchtitle.content">
631 <xs:sequence>
632 <xs:sequence minOccurs="0" maxOccurs="unbounded">
633 <xs:group ref="words.cnt"/>
634 </xs:sequence>
635 </xs:sequence>
636 </xs:group>
637
638 <xs:attributeGroup name="searchtitle.attributes">
639 <xs:attribute name="outputclass" type="xs:string"/>
640 <xs:attributeGroup ref="univ-atts"/>
641 <xs:attributeGroup ref="global-atts" />
642 </xs:attributeGroup>
643
644<xs:element name="shortdesc">
645 <xs:annotation>
646 <xs:documentation>
647 The short description (&lt;<keyword>shortdesc</keyword>&gt;) element
648 occurs between the topic title and the topic body, as the initial paragraph-like
649 content of a topic. The short description, which represents the purpose or
650 theme of the topic, is also intended to be used as a link preview and for
651 searching.
652 </xs:documentation>
653 </xs:annotation>
654 <xs:complexType>
655 <xs:complexContent>
656 <xs:extension base="shortdesc.class">
657 <xs:attribute ref="class" default="- map/shortdesc " />
658 </xs:extension>
659 </xs:complexContent>
660 </xs:complexType>
661 </xs:element>
662
663 <!--<xs:complexType name="shortdesc.class" mixed="true">
664 <xs:sequence minOccurs="0" maxOccurs="unbounded">
665 <xs:group ref="words.cnt"/>
666 </xs:sequence>
667 <xs:attributeGroup ref="global-atts" />
668 </xs:complexType >-->
669
670</xs:schema>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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