1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | This file is part of DocBook V5.0
|
---|
4 |
|
---|
5 | Copyright 1992-2008 HaL Computer Systems, Inc.,
|
---|
6 | O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
|
---|
7 | Corporation, Norman Walsh, Sun Microsystems, Inc., and the
|
---|
8 | Organization for the Advancement of Structured Information
|
---|
9 | Standards (OASIS).
|
---|
10 |
|
---|
11 | Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
|
---|
12 |
|
---|
13 | Permission to use, copy, modify and distribute the DocBook schema
|
---|
14 | and its accompanying documentation for any purpose and without fee
|
---|
15 | is hereby granted in perpetuity, provided that the above copyright
|
---|
16 | notice and this paragraph appear in all copies. The copyright
|
---|
17 | holders make no representation about the suitability of the schema
|
---|
18 | for any purpose. It is provided "as is" without expressed or implied
|
---|
19 | warranty.
|
---|
20 |
|
---|
21 | If you modify the DocBook schema in any way, label your schema as a
|
---|
22 | variant of DocBook. See the reference documentation
|
---|
23 | (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
|
---|
24 | for more information.
|
---|
25 |
|
---|
26 | Please direct all questions, bug reports, or suggestions for changes
|
---|
27 | to the docbook@lists.oasis-open.org mailing list. For more
|
---|
28 | information, see http://www.oasis-open.org/docbook/.
|
---|
29 |
|
---|
30 | ======================================================================
|
---|
31 | -->
|
---|
32 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
---|
33 | <xs:import namespace="http://docbook.org/ns/docbook-slides" schemaLocation="slides.xsd"/>
|
---|
34 | <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
|
---|
35 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
---|
36 | <xs:element name="db.synopsis.blocks" abstract="true"/>
|
---|
37 | <xs:element name="db.os.inlines" abstract="true"/>
|
---|
38 | <!-- ====================================================================== -->
|
---|
39 | <!-- ====================================================================== -->
|
---|
40 | <xs:attributeGroup name="db.prompt.role.attribute">
|
---|
41 | <xs:attribute name="role" use="required"/>
|
---|
42 | </xs:attributeGroup>
|
---|
43 | <xs:attributeGroup name="db.prompt.attlist">
|
---|
44 | <xs:attribute name="role"/>
|
---|
45 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
46 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
47 | </xs:attributeGroup>
|
---|
48 | <xs:element name="prompt" substitutionGroup="db:db.os.inlines">
|
---|
49 | <xs:complexType mixed="true">
|
---|
50 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.prompt.inlines"/>
|
---|
51 | <xs:attributeGroup ref="db:db.prompt.attlist"/>
|
---|
52 | </xs:complexType>
|
---|
53 | </xs:element>
|
---|
54 | <!-- ====================================================================== -->
|
---|
55 | <xs:attributeGroup name="db.envar.role.attribute">
|
---|
56 | <xs:attribute name="role" use="required"/>
|
---|
57 | </xs:attributeGroup>
|
---|
58 | <xs:attributeGroup name="db.envar.attlist">
|
---|
59 | <xs:attribute name="role"/>
|
---|
60 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
61 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
62 | </xs:attributeGroup>
|
---|
63 | <xs:element name="envar" substitutionGroup="db:db.os.inlines">
|
---|
64 | <xs:complexType mixed="true">
|
---|
65 | <xs:group ref="db:db._text"/>
|
---|
66 | <xs:attributeGroup ref="db:db.envar.attlist"/>
|
---|
67 | </xs:complexType>
|
---|
68 | </xs:element>
|
---|
69 | <!-- ====================================================================== -->
|
---|
70 | <xs:simpleType name="db.filename.class.enumeration">
|
---|
71 | <xs:restriction base="xs:token">
|
---|
72 | <xs:enumeration value="devicefile">
|
---|
73 | <xs:annotation>
|
---|
74 | <xs:documentation>A device</xs:documentation>
|
---|
75 | </xs:annotation>
|
---|
76 | </xs:enumeration>
|
---|
77 | <xs:enumeration value="directory">
|
---|
78 | <xs:annotation>
|
---|
79 | <xs:documentation>A directory</xs:documentation>
|
---|
80 | </xs:annotation>
|
---|
81 | </xs:enumeration>
|
---|
82 | <xs:enumeration value="extension">
|
---|
83 | <xs:annotation>
|
---|
84 | <xs:documentation>A filename extension</xs:documentation>
|
---|
85 | </xs:annotation>
|
---|
86 | </xs:enumeration>
|
---|
87 | <xs:enumeration value="headerfile">
|
---|
88 | <xs:annotation>
|
---|
89 | <xs:documentation>A header file (as for a programming language)</xs:documentation>
|
---|
90 | </xs:annotation>
|
---|
91 | </xs:enumeration>
|
---|
92 | <xs:enumeration value="libraryfile">
|
---|
93 | <xs:annotation>
|
---|
94 | <xs:documentation>A library file</xs:documentation>
|
---|
95 | </xs:annotation>
|
---|
96 | </xs:enumeration>
|
---|
97 | <xs:enumeration value="partition">
|
---|
98 | <xs:annotation>
|
---|
99 | <xs:documentation>A partition (as of a hard disk)</xs:documentation>
|
---|
100 | </xs:annotation>
|
---|
101 | </xs:enumeration>
|
---|
102 | <xs:enumeration value="symlink">
|
---|
103 | <xs:annotation>
|
---|
104 | <xs:documentation>A symbolic link</xs:documentation>
|
---|
105 | </xs:annotation>
|
---|
106 | </xs:enumeration>
|
---|
107 | </xs:restriction>
|
---|
108 | </xs:simpleType>
|
---|
109 | <xs:attributeGroup name="db.filename.class.attribute">
|
---|
110 | <xs:attribute name="class" use="required" type="db:db.filename.class.enumeration"/>
|
---|
111 | </xs:attributeGroup>
|
---|
112 | <xs:attributeGroup name="db.filename.path.attribute">
|
---|
113 | <xs:attribute name="path" use="required"/>
|
---|
114 | </xs:attributeGroup>
|
---|
115 | <xs:attributeGroup name="db.filename.role.attribute">
|
---|
116 | <xs:attribute name="role" use="required"/>
|
---|
117 | </xs:attributeGroup>
|
---|
118 | <xs:attributeGroup name="db.filename.attlist">
|
---|
119 | <xs:attribute name="role"/>
|
---|
120 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
121 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
122 | <xs:attribute name="path"/>
|
---|
123 | <xs:attribute name="class" type="db:db.filename.class.enumeration"/>
|
---|
124 | </xs:attributeGroup>
|
---|
125 | <xs:element name="filename" substitutionGroup="db:db.os.inlines">
|
---|
126 | <xs:complexType mixed="true">
|
---|
127 | <xs:group ref="db:db._text"/>
|
---|
128 | <xs:attributeGroup ref="db:db.filename.attlist"/>
|
---|
129 | </xs:complexType>
|
---|
130 | </xs:element>
|
---|
131 | <!-- ====================================================================== -->
|
---|
132 | <xs:attributeGroup name="db.command.role.attribute">
|
---|
133 | <xs:attribute name="role" use="required"/>
|
---|
134 | </xs:attributeGroup>
|
---|
135 | <xs:attributeGroup name="db.command.attlist">
|
---|
136 | <xs:attribute name="role"/>
|
---|
137 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
138 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
139 | </xs:attributeGroup>
|
---|
140 | <xs:element name="command" substitutionGroup="db:db.os.inlines">
|
---|
141 | <xs:complexType mixed="true">
|
---|
142 | <xs:group ref="db:db._text"/>
|
---|
143 | <xs:attributeGroup ref="db:db.command.attlist"/>
|
---|
144 | </xs:complexType>
|
---|
145 | </xs:element>
|
---|
146 | <!-- ====================================================================== -->
|
---|
147 | <xs:attributeGroup name="db.computeroutput.role.attribute">
|
---|
148 | <xs:attribute name="role" use="required"/>
|
---|
149 | </xs:attributeGroup>
|
---|
150 | <xs:attributeGroup name="db.computeroutput.attlist">
|
---|
151 | <xs:attribute name="role"/>
|
---|
152 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
153 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
154 | </xs:attributeGroup>
|
---|
155 | <xs:element name="computeroutput" substitutionGroup="db:db.os.inlines">
|
---|
156 | <xs:complexType mixed="true">
|
---|
157 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.computeroutput.inlines"/>
|
---|
158 | <xs:attributeGroup ref="db:db.computeroutput.attlist"/>
|
---|
159 | </xs:complexType>
|
---|
160 | </xs:element>
|
---|
161 | <!-- ====================================================================== -->
|
---|
162 | <xs:attributeGroup name="db.userinput.role.attribute">
|
---|
163 | <xs:attribute name="role" use="required"/>
|
---|
164 | </xs:attributeGroup>
|
---|
165 | <xs:attributeGroup name="db.userinput.attlist">
|
---|
166 | <xs:attribute name="role"/>
|
---|
167 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
168 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
169 | </xs:attributeGroup>
|
---|
170 | <xs:element name="userinput" substitutionGroup="db:db.os.inlines">
|
---|
171 | <xs:complexType mixed="true">
|
---|
172 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.userinput.inlines"/>
|
---|
173 | <xs:attributeGroup ref="db:db.userinput.attlist"/>
|
---|
174 | </xs:complexType>
|
---|
175 | </xs:element>
|
---|
176 | <!-- ====================================================================== -->
|
---|
177 | <xs:attributeGroup name="db.cmdsynopsis.role.attribute">
|
---|
178 | <xs:attribute name="role" use="required"/>
|
---|
179 | </xs:attributeGroup>
|
---|
180 | <xs:attributeGroup name="db.cmdsynopsis.sepchar.attribute">
|
---|
181 | <xs:attribute name="sepchar" use="required"/>
|
---|
182 | </xs:attributeGroup>
|
---|
183 | <xs:attributeGroup name="db.cmdsynopsis.cmdlength.attribute">
|
---|
184 | <xs:attribute name="cmdlength" use="required"/>
|
---|
185 | </xs:attributeGroup>
|
---|
186 | <xs:attributeGroup name="db.cmdsynopsis.label.attribute">
|
---|
187 | <xs:attributeGroup ref="db:db.label.attribute"/>
|
---|
188 | </xs:attributeGroup>
|
---|
189 | <xs:attributeGroup name="db.cmdsynopsis.attlist">
|
---|
190 | <xs:attribute name="role"/>
|
---|
191 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
192 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
193 | <xs:attribute name="sepchar"/>
|
---|
194 | <xs:attribute name="cmdlength"/>
|
---|
195 | <xs:attribute name="label"/>
|
---|
196 | </xs:attributeGroup>
|
---|
197 | <xs:group name="db.cmdsynopsis.info">
|
---|
198 | <xs:sequence>
|
---|
199 | <xs:group ref="db:db._info.title.forbidden"/>
|
---|
200 | </xs:sequence>
|
---|
201 | </xs:group>
|
---|
202 | <xs:element name="cmdsynopsis" substitutionGroup="db:db.synopsis.blocks">
|
---|
203 | <xs:complexType>
|
---|
204 | <xs:sequence>
|
---|
205 | <xs:group ref="db:db.cmdsynopsis.info"/>
|
---|
206 | <xs:choice maxOccurs="unbounded">
|
---|
207 | <xs:element ref="db:command"/>
|
---|
208 | <xs:element ref="db:arg"/>
|
---|
209 | <xs:group ref="db:db.group"/>
|
---|
210 | <xs:element ref="db:sbr"/>
|
---|
211 | </xs:choice>
|
---|
212 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:synopfragment"/>
|
---|
213 | </xs:sequence>
|
---|
214 | <xs:attributeGroup ref="db:db.cmdsynopsis.attlist"/>
|
---|
215 | </xs:complexType>
|
---|
216 | </xs:element>
|
---|
217 | <!-- ====================================================================== -->
|
---|
218 | <xs:simpleType name="db.rep.enumeration">
|
---|
219 | <xs:restriction base="xs:token">
|
---|
220 | <xs:enumeration value="norepeat">
|
---|
221 | <xs:annotation>
|
---|
222 | <xs:documentation>Can not be repeated.</xs:documentation>
|
---|
223 | </xs:annotation>
|
---|
224 | </xs:enumeration>
|
---|
225 | <xs:enumeration value="repeat">
|
---|
226 | <xs:annotation>
|
---|
227 | <xs:documentation>Can be repeated.</xs:documentation>
|
---|
228 | </xs:annotation>
|
---|
229 | </xs:enumeration>
|
---|
230 | </xs:restriction>
|
---|
231 | </xs:simpleType>
|
---|
232 | <xs:attributeGroup name="db.rep.attribute">
|
---|
233 | <xs:attribute name="rep" use="required" type="db:db.rep.enumeration"/>
|
---|
234 | </xs:attributeGroup>
|
---|
235 | <xs:simpleType name="db.choice.enumeration">
|
---|
236 | <xs:restriction base="xs:token">
|
---|
237 | <xs:enumeration value="opt">
|
---|
238 | <xs:annotation>
|
---|
239 | <xs:documentation>Formatted to indicate that it is optional.</xs:documentation>
|
---|
240 | </xs:annotation>
|
---|
241 | </xs:enumeration>
|
---|
242 | <xs:enumeration value="plain">
|
---|
243 | <xs:annotation>
|
---|
244 | <xs:documentation>Formatted without indication.</xs:documentation>
|
---|
245 | </xs:annotation>
|
---|
246 | </xs:enumeration>
|
---|
247 | <xs:enumeration value="req">
|
---|
248 | <xs:annotation>
|
---|
249 | <xs:documentation>Formatted to indicate that it is required.</xs:documentation>
|
---|
250 | </xs:annotation>
|
---|
251 | </xs:enumeration>
|
---|
252 | </xs:restriction>
|
---|
253 | </xs:simpleType>
|
---|
254 | <xs:attributeGroup name="db.choice.opt.attribute">
|
---|
255 | <xs:attribute name="choice" use="required" type="db:db.choice.enumeration"/>
|
---|
256 | </xs:attributeGroup>
|
---|
257 | <xs:attributeGroup name="db.choice.req.attribute">
|
---|
258 | <xs:attribute name="choice" use="required" type="db:db.choice.enumeration"/>
|
---|
259 | </xs:attributeGroup>
|
---|
260 | <!-- ====================================================================== -->
|
---|
261 | <xs:attributeGroup name="db.arg.role.attribute">
|
---|
262 | <xs:attribute name="role" use="required"/>
|
---|
263 | </xs:attributeGroup>
|
---|
264 | <xs:attributeGroup name="db.arg.rep.attribute">
|
---|
265 | <xs:attributeGroup ref="db:db.rep.attribute"/>
|
---|
266 | </xs:attributeGroup>
|
---|
267 | <xs:attributeGroup name="db.arg.choice.attribute">
|
---|
268 | <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
|
---|
269 | </xs:attributeGroup>
|
---|
270 | <xs:attributeGroup name="db.arg.attlist">
|
---|
271 | <xs:attribute name="role"/>
|
---|
272 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
273 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
274 | <xs:attribute name="rep" type="db:db.rep.enumeration"/>
|
---|
275 | <xs:attribute name="choice" type="db:db.choice.enumeration"/>
|
---|
276 | </xs:attributeGroup>
|
---|
277 | <xs:element name="arg">
|
---|
278 | <xs:complexType mixed="true">
|
---|
279 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
280 | <xs:group ref="db:db._text"/>
|
---|
281 | <xs:element ref="db:arg"/>
|
---|
282 | <xs:group ref="db:db.group"/>
|
---|
283 | <xs:element ref="db:option"/>
|
---|
284 | <xs:element ref="db:synopfragmentref"/>
|
---|
285 | <xs:element ref="db:sbr"/>
|
---|
286 | </xs:choice>
|
---|
287 | <xs:attributeGroup ref="db:db.arg.attlist"/>
|
---|
288 | </xs:complexType>
|
---|
289 | </xs:element>
|
---|
290 | <!-- ====================================================================== -->
|
---|
291 | <xs:attributeGroup name="db.group.role.attribute">
|
---|
292 | <xs:attribute name="role" use="required"/>
|
---|
293 | </xs:attributeGroup>
|
---|
294 | <xs:attributeGroup name="db.group.rep.attribute">
|
---|
295 | <xs:attributeGroup ref="db:db.rep.attribute"/>
|
---|
296 | </xs:attributeGroup>
|
---|
297 | <xs:attributeGroup name="db.group.choice.attribute">
|
---|
298 | <xs:attributeGroup ref="db:db.choice.opt.attribute"/>
|
---|
299 | </xs:attributeGroup>
|
---|
300 | <xs:attributeGroup name="db.group.attlist">
|
---|
301 | <xs:attribute name="role"/>
|
---|
302 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
303 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
304 | <xs:attribute name="rep" type="db:db.rep.enumeration"/>
|
---|
305 | <xs:attribute name="choice" type="db:db.choice.enumeration"/>
|
---|
306 | </xs:attributeGroup>
|
---|
307 | <xs:group name="db.group">
|
---|
308 | <xs:sequence>
|
---|
309 | <xs:element name="group">
|
---|
310 | <xs:complexType>
|
---|
311 | <xs:choice maxOccurs="unbounded">
|
---|
312 | <xs:element ref="db:arg"/>
|
---|
313 | <xs:group ref="db:db.group"/>
|
---|
314 | <xs:element ref="db:option"/>
|
---|
315 | <xs:element ref="db:synopfragmentref"/>
|
---|
316 | <xs:element ref="db:replaceable"/>
|
---|
317 | <xs:element ref="db:sbr"/>
|
---|
318 | </xs:choice>
|
---|
319 | <xs:attributeGroup ref="db:db.group.attlist"/>
|
---|
320 | </xs:complexType>
|
---|
321 | </xs:element>
|
---|
322 | </xs:sequence>
|
---|
323 | </xs:group>
|
---|
324 | <!-- ====================================================================== -->
|
---|
325 | <xs:attributeGroup name="db.sbr.role.attribute">
|
---|
326 | <xs:attribute name="role" use="required"/>
|
---|
327 | </xs:attributeGroup>
|
---|
328 | <xs:attributeGroup name="db.sbr.attlist">
|
---|
329 | <xs:attribute name="role"/>
|
---|
330 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
331 | </xs:attributeGroup>
|
---|
332 | <xs:element name="sbr">
|
---|
333 | <xs:complexType>
|
---|
334 | <xs:attributeGroup ref="db:db.sbr.attlist"/>
|
---|
335 | </xs:complexType>
|
---|
336 | </xs:element>
|
---|
337 | <!-- ====================================================================== -->
|
---|
338 | <xs:attributeGroup name="db.synopfragment.role.attribute">
|
---|
339 | <xs:attribute name="role" use="required"/>
|
---|
340 | </xs:attributeGroup>
|
---|
341 | <xs:attributeGroup name="db.synopfragment.attlist">
|
---|
342 | <xs:attribute name="role"/>
|
---|
343 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
344 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
345 | </xs:attributeGroup>
|
---|
346 | <xs:element name="synopfragment">
|
---|
347 | <xs:complexType>
|
---|
348 | <xs:choice maxOccurs="unbounded">
|
---|
349 | <xs:element ref="db:arg"/>
|
---|
350 | <xs:group ref="db:db.group"/>
|
---|
351 | </xs:choice>
|
---|
352 | <xs:attributeGroup ref="db:db.synopfragment.attlist"/>
|
---|
353 | </xs:complexType>
|
---|
354 | </xs:element>
|
---|
355 | <!-- ====================================================================== -->
|
---|
356 | <xs:attributeGroup name="db.synopfragmentref.role.attribute">
|
---|
357 | <xs:attribute name="role" use="required"/>
|
---|
358 | </xs:attributeGroup>
|
---|
359 | <xs:attributeGroup name="db.synopfragmentref.attlist">
|
---|
360 | <xs:attribute name="role"/>
|
---|
361 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
362 | <xs:attributeGroup ref="db:db.linkend.attribute"/>
|
---|
363 | </xs:attributeGroup>
|
---|
364 | <xs:element name="synopfragmentref">
|
---|
365 | <xs:complexType mixed="true">
|
---|
366 | <xs:attributeGroup ref="db:db.synopfragmentref.attlist"/>
|
---|
367 | </xs:complexType>
|
---|
368 | </xs:element>
|
---|
369 | </xs:schema>
|
---|