VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/schema/technicalContent/xsd/softwareDomain.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
檔案大小: 15.7 KB
 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- ============================================================= -->
3<!-- HEADER -->
4<!-- ============================================================= -->
5<!-- MODULE: DITA Software 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 Software 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 <!-- 20021227 EAS: Use xml:space (preserve) for pre derivs: codeblock, msgblock, screen -->
27 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="urn:oasis:names:tc:dita:xsd:xml.xsd:1.2"/>
28
29 <xs:annotation>
30 <xs:appinfo>
31 <dita:domainsModule xmlns:dita="http://dita.oasis-open.org/architecture/2005/">(topic sw-d)</dita:domainsModule>
32 </xs:appinfo>
33 <xs:documentation>
34
35 </xs:documentation>
36 </xs:annotation>
37
38 <xs:group name="sw-d-ph">
39 <xs:choice>
40 <xs:element ref="msgph" />
41 <xs:element ref="filepath" />
42 <xs:element ref="userinput" />
43 <xs:element ref="systemoutput" />
44 </xs:choice>
45 </xs:group>
46
47 <xs:group name="sw-d-keyword">
48 <xs:choice>
49 <xs:element ref="msgnum" />
50 <xs:element ref="varname" />
51 <xs:element ref="cmdname" />
52 </xs:choice>
53 </xs:group>
54
55 <xs:group name="sw-d-pre">
56 <xs:choice>
57 <xs:element ref="msgblock" />
58 </xs:choice>
59 </xs:group>
60
61
62 <xs:group name="msgph">
63 <xs:sequence>
64 <xs:choice>
65 <xs:element ref="msgph"/>
66 </xs:choice>
67 </xs:sequence>
68 </xs:group>
69
70 <xs:group name="msgnum">
71 <xs:sequence>
72 <xs:choice>
73 <xs:element ref="msgnum"/>
74 </xs:choice>
75 </xs:sequence>
76 </xs:group>
77
78 <xs:group name="varname">
79 <xs:sequence>
80 <xs:choice>
81 <xs:element ref="varname"/>
82 </xs:choice>
83 </xs:sequence>
84 </xs:group>
85
86 <xs:group name="msgblock">
87 <xs:sequence>
88 <xs:choice>
89 <xs:element ref="msgblock"/>
90 </xs:choice>
91 </xs:sequence>
92 </xs:group>
93
94 <xs:group name="cmdname">
95 <xs:sequence>
96 <xs:choice>
97 <xs:element ref="cmdname"/>
98 </xs:choice>
99 </xs:sequence>
100 </xs:group>
101
102 <xs:group name="filepath">
103 <xs:sequence>
104 <xs:choice>
105 <xs:element ref="filepath"/>
106 </xs:choice>
107 </xs:sequence>
108 </xs:group>
109
110 <xs:group name="userinput">
111 <xs:sequence>
112 <xs:choice>
113 <xs:element ref="userinput"/>
114 </xs:choice>
115 </xs:sequence>
116 </xs:group>
117
118 <xs:group name="systemoutput">
119 <xs:sequence>
120 <xs:choice>
121 <xs:element ref="systemoutput"/>
122 </xs:choice>
123 </xs:sequence>
124 </xs:group>
125
126 <xs:element name="msgph">
127 <xs:annotation>
128 <xs:documentation>
129 The message phrase (&lt;msgph&gt;) element contains the text content
130 of a message produced by an application or program. It can also contain the
131 variable name (varname) element to illustrate where variable text content
132 can occur in the message. This element is part of the DITA software domain,
133 a special set of DITA elements designed to document software tasks, concepts
134 and reference information.
135 </xs:documentation>
136 </xs:annotation>
137 <xs:complexType>
138 <xs:complexContent>
139 <xs:extension base="msgph.class">
140 <xs:attribute ref="class" default="+ topic/ph sw-d/msgph "/>
141 </xs:extension>
142 </xs:complexContent>
143 </xs:complexType>
144 </xs:element>
145
146
147 <xs:complexType name="msgph.class" mixed="true">
148 <xs:sequence>
149 <xs:group ref="msgph.content"/>
150 </xs:sequence>
151 <xs:attributeGroup ref="msgph.attributes"/>
152 </xs:complexType>
153
154 <xs:group name="msgph.content">
155 <xs:sequence>
156 <xs:choice minOccurs="0" maxOccurs="unbounded">
157 <xs:group ref="words.cnt" minOccurs="0"/>
158 </xs:choice>
159 </xs:sequence>
160 </xs:group>
161
162 <xs:attributeGroup name="msgph.attributes">
163 <xs:attribute name="outputclass" type="xs:string"/>
164 <xs:attributeGroup ref="univ-atts"/>
165 <xs:attributeGroup ref="global-atts"/>
166 </xs:attributeGroup>
167
168 <xs:element name="msgnum">
169 <xs:annotation>
170 <xs:documentation>
171 The message number (&lt;<keyword>msgnum</keyword>&gt;) element contains the number
172 of a message produced by an application or program. This element is part of
173 the DITA software domain, a special set of DITA elements designed to document
174 software tasks, concepts and reference information.
175 </xs:documentation>
176 </xs:annotation>
177 <xs:complexType>
178 <xs:complexContent>
179 <xs:extension base="msgnum.class">
180 <xs:attribute ref="class" default="+ topic/keyword sw-d/msgnum "/>
181 </xs:extension>
182 </xs:complexContent>
183 </xs:complexType>
184 </xs:element>
185 <xs:complexType name="msgnum.class" mixed="true">
186 <xs:sequence>
187 <xs:group ref="msgnum.content"></xs:group>
188 </xs:sequence>
189 <xs:attributeGroup ref="msgnum.attributes"/>
190 </xs:complexType>
191
192 <xs:group name="msgnum.content">
193 <xs:sequence>
194 <xs:choice minOccurs="0" maxOccurs="unbounded">
195 <xs:group ref="text" minOccurs="0"/>
196 </xs:choice>
197 </xs:sequence>
198 </xs:group>
199
200 <xs:attributeGroup name="msgnum.attributes">
201 <xs:attribute name="keyref" type="xs:string"/>
202 <xs:attribute name="outputclass" type="xs:string"/>
203 <xs:attributeGroup ref="univ-atts"/>
204 <xs:attributeGroup ref="global-atts"/>
205 </xs:attributeGroup>
206
207 <xs:element name="varname">
208 <xs:annotation>
209 <xs:documentation>
210 The variable name (&lt;<keyword>varname</keyword>&gt;) element defines a variable
211 that must be supplied to a software application. The variable name element
212 is very similar to the variable (var) element, but variable name is used outside
213 of syntax diagrams, possibly within a message or API description to describe
214 a system variable or environment variable. This element is part of the DITA
215 software domain, a special set of DITA elements designed to document software
216 tasks, concepts and reference information.
217 </xs:documentation>
218 </xs:annotation>
219 <xs:complexType>
220 <xs:complexContent>
221 <xs:extension base="varname.class">
222 <xs:attribute ref="class" default="+ topic/keyword sw-d/varname "/>
223 </xs:extension>
224 </xs:complexContent>
225 </xs:complexType>
226 </xs:element>
227 <xs:complexType name="varname.class" mixed="true">
228 <xs:sequence>
229 <xs:group ref="varname.content"></xs:group>
230 </xs:sequence>
231 <xs:attributeGroup ref="varname.attributes"/>
232 </xs:complexType>
233
234 <xs:group name="varname.content">
235 <xs:sequence>
236 <xs:choice minOccurs="0" maxOccurs="unbounded">
237 <xs:group ref="text" minOccurs="0"/>
238 </xs:choice>
239 </xs:sequence>
240 </xs:group>
241
242 <xs:attributeGroup name="varname.attributes">
243 <xs:attribute name="keyref" type="xs:string"/>
244 <xs:attribute name="outputclass" type="xs:string"/>
245 <xs:attributeGroup ref="univ-atts"/>
246 <xs:attributeGroup ref="global-atts"/>
247 </xs:attributeGroup>
248
249 <xs:element name="msgblock">
250 <xs:annotation>
251 <xs:documentation>
252 The message block (&lt;<keyword>msgblock</keyword>&gt;) element contains a multi-line
253 message or set of messages. The message block can contain multiple message
254 numbers and message descriptions, each enclosed in a &lt;<keyword>msgnum</keyword>&gt; and &lt;<keyword>msgph</keyword>&gt; element.
255 It can also contain the message content directly. This element is part of
256 the DITA software domain, a special set of DITA elements designed to document
257 software tasks, concepts and reference information.
258 </xs:documentation>
259 </xs:annotation>
260 <xs:complexType>
261 <xs:complexContent>
262 <xs:extension base="msgblock.class">
263 <xs:attribute ref="class" default="+ topic/pre sw-d/msgblock "/>
264 </xs:extension>
265 </xs:complexContent>
266 </xs:complexType>
267 </xs:element>
268 <xs:complexType name="msgblock.class" mixed="true">
269 <xs:sequence>
270 <xs:group ref="msgblock.content"/>
271 </xs:sequence>
272 <xs:attributeGroup ref="msgblock.attributes"/>
273 </xs:complexType>
274
275 <xs:group name="msgblock.content">
276 <xs:sequence>
277 <xs:choice minOccurs="0" maxOccurs="unbounded">
278 <xs:group ref="words.cnt"/>
279 </xs:choice>
280 </xs:sequence>
281 </xs:group>
282
283 <xs:attributeGroup name="msgblock.attributes">
284 <xs:attribute name="outputclass" type="xs:string"/>
285 <xs:attribute name="spectitle" type="xs:string"/>
286 <xs:attribute ref="xml:space" fixed="preserve"/>
287 <xs:attributeGroup ref="display-atts"/>
288 <xs:attributeGroup ref="univ-atts"/>
289 <xs:attributeGroup ref="global-atts"/>
290 </xs:attributeGroup>
291
292 <xs:element name="cmdname">
293 <xs:annotation>
294 <xs:documentation>
295 The command name (&lt;cmdname&gt;) element specifies the name of a command
296 when it is part of a software discussion. This element is part of the DITA
297 software domain, a special set of DITA elements designed to document software
298 tasks, concepts and reference information.
299 </xs:documentation>
300 </xs:annotation>
301 <xs:complexType>
302 <xs:complexContent>
303 <xs:extension base="cmdname.class">
304 <xs:attribute ref="class" default="+ topic/keyword sw-d/cmdname "/>
305 </xs:extension>
306 </xs:complexContent>
307 </xs:complexType>
308 </xs:element>
309 <xs:complexType name="cmdname.class" mixed="true">
310 <xs:sequence>
311 <xs:group ref="cmdname.content"></xs:group>
312 </xs:sequence>
313 <xs:attributeGroup ref="cmdname.attributes"/>
314 </xs:complexType>
315
316 <xs:group name="cmdname.content">
317 <xs:sequence>
318 <xs:choice minOccurs="0" maxOccurs="unbounded">
319 <xs:group ref="text" minOccurs="0"/>
320 </xs:choice>
321 </xs:sequence>
322 </xs:group>
323
324 <xs:attributeGroup name="cmdname.attributes">
325 <xs:attribute name="keyref" type="xs:string"/>
326 <xs:attribute name="outputclass" type="xs:string"/>
327 <xs:attributeGroup ref="univ-atts"/>
328 <xs:attributeGroup ref="global-atts"/>
329 </xs:attributeGroup>
330
331 <xs:element name="filepath">
332 <xs:annotation>
333 <xs:documentation>
334 The &lt;<keyword>filepath</keyword>&gt; element indicates
335 the name and optionally the location of a referenced file by specifying the
336 directory containing the file, and other directories that may precede it in
337 the system hierarchy. This element is part of the DITA software domain, a
338 special set of DITA elements designed to document software tasks, concepts
339 and reference information.
340 </xs:documentation>
341 </xs:annotation>
342 <xs:complexType>
343 <xs:complexContent>
344 <xs:extension base="filepath.class">
345 <xs:attribute ref="class" default="+ topic/ph sw-d/filepath "/>
346 </xs:extension>
347 </xs:complexContent>
348 </xs:complexType>
349 </xs:element>
350 <xs:complexType name="filepath.class" mixed="true">
351 <xs:sequence>
352 <xs:group ref="filepath.content"/>
353 </xs:sequence>
354 <xs:attributeGroup ref="filepath.attributes"/>
355 </xs:complexType>
356
357 <xs:group name="filepath.content">
358 <xs:sequence>
359 <xs:choice minOccurs="0" maxOccurs="unbounded">
360 <xs:group ref="words.cnt" minOccurs="0"/>
361 </xs:choice>
362 </xs:sequence>
363 </xs:group>
364
365 <xs:attributeGroup name="filepath.attributes">
366 <xs:attribute name="outputclass" type="xs:string"/>
367 <xs:attributeGroup ref="univ-atts"/>
368 <xs:attributeGroup ref="global-atts"/>
369 </xs:attributeGroup>
370
371 <xs:element name="userinput">
372 <xs:annotation>
373 <xs:documentation>
374 The user input (&lt;<keyword>userinput</keyword>&gt;) element represens the text
375 a user should input in response to a program or system prompt.
376 This element is part of the DITA software domain, a special set of DITA elements
377 designed to document software tasks, concepts and reference information.
378 </xs:documentation>
379 </xs:annotation>
380 <xs:complexType>
381 <xs:complexContent>
382 <xs:extension base="userinput.class">
383 <xs:attribute ref="class" default="+ topic/ph sw-d/userinput "/>
384 </xs:extension>
385 </xs:complexContent>
386 </xs:complexType>
387 </xs:element>
388 <xs:complexType name="userinput.class" mixed="true">
389 <xs:sequence>
390 <xs:group ref="userinput.content"/>
391 </xs:sequence>
392 <xs:attributeGroup ref="userinput.attributes"/>
393 </xs:complexType>
394
395 <xs:group name="userinput.content">
396 <xs:sequence>
397 <xs:choice minOccurs="0" maxOccurs="unbounded">
398 <xs:group ref="words.cnt" minOccurs="0"/>
399 </xs:choice>
400 </xs:sequence>
401 </xs:group>
402
403 <xs:attributeGroup name="userinput.attributes">
404 <xs:attribute name="outputclass" type="xs:string"/>
405 <xs:attributeGroup ref="univ-atts"/>
406 <xs:attributeGroup ref="global-atts"/>
407 </xs:attributeGroup>
408
409 <xs:element name="systemoutput">
410 <xs:annotation>
411 <xs:documentation>
412 The system output (&lt;<keyword>systemoutput</keyword>&gt;) element
413 represents computer output or responses to a command or situation.
414 A generalized element, it represents any kind of output from the computer,
415 so the author may wish to choose more specific markup, such as msgph, for
416 messages from the application. The system output element is part of the DITA
417 software domain, a special set of DITA elements designed to document software
418 tasks, concepts and reference information.
419 </xs:documentation>
420 </xs:annotation>
421 <xs:complexType>
422 <xs:complexContent>
423 <xs:extension base="systemoutput.class">
424 <xs:attribute ref="class" default="+ topic/ph sw-d/systemoutput "/>
425 </xs:extension>
426 </xs:complexContent>
427 </xs:complexType>
428 </xs:element>
429 <xs:complexType name="systemoutput.class" mixed="true">
430 <xs:sequence>
431 <xs:group ref="systemoutput.content"/>
432 </xs:sequence>
433 <xs:attributeGroup ref="systemoutput.attributes"/>
434 </xs:complexType>
435
436 <xs:group name="systemoutput.content">
437 <xs:sequence>
438 <xs:choice minOccurs="0" maxOccurs="unbounded">
439 <xs:group ref="words.cnt" minOccurs="0"/>
440 </xs:choice>
441 </xs:sequence>
442 </xs:group>
443
444 <xs:attributeGroup name="systemoutput.attributes">
445 <xs:attribute name="outputclass" type="xs:string"/>
446 <xs:attributeGroup ref="univ-atts"/>
447 <xs:attributeGroup ref="global-atts"/>
448 </xs:attributeGroup>
449
450</xs:schema>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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