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:group name="db.keyboard.inlines">
|
---|
37 | <xs:choice>
|
---|
38 | <xs:element ref="db:keycombo"/>
|
---|
39 | <xs:element ref="db:keycap"/>
|
---|
40 | <xs:element ref="db:keycode"/>
|
---|
41 | <xs:element ref="db:keysym"/>
|
---|
42 | <xs:element ref="db:shortcut"/>
|
---|
43 | <xs:element ref="db:accel"/>
|
---|
44 | </xs:choice>
|
---|
45 | </xs:group>
|
---|
46 | <!-- ====================================================================== -->
|
---|
47 | <xs:simpleType name="db.keycap.function.enumeration">
|
---|
48 | <xs:restriction base="xs:token">
|
---|
49 | <xs:enumeration value="alt">
|
---|
50 | <xs:annotation>
|
---|
51 | <xs:documentation>The "Alt" key</xs:documentation>
|
---|
52 | </xs:annotation>
|
---|
53 | </xs:enumeration>
|
---|
54 | <xs:enumeration value="backspace">
|
---|
55 | <xs:annotation>
|
---|
56 | <xs:documentation>The "Backspace" key</xs:documentation>
|
---|
57 | </xs:annotation>
|
---|
58 | </xs:enumeration>
|
---|
59 | <xs:enumeration value="command">
|
---|
60 | <xs:annotation>
|
---|
61 | <xs:documentation>The "Command" key</xs:documentation>
|
---|
62 | </xs:annotation>
|
---|
63 | </xs:enumeration>
|
---|
64 | <xs:enumeration value="control">
|
---|
65 | <xs:annotation>
|
---|
66 | <xs:documentation>The "Control" key</xs:documentation>
|
---|
67 | </xs:annotation>
|
---|
68 | </xs:enumeration>
|
---|
69 | <xs:enumeration value="delete">
|
---|
70 | <xs:annotation>
|
---|
71 | <xs:documentation>The "Delete" key</xs:documentation>
|
---|
72 | </xs:annotation>
|
---|
73 | </xs:enumeration>
|
---|
74 | <xs:enumeration value="down">
|
---|
75 | <xs:annotation>
|
---|
76 | <xs:documentation>The down arrow</xs:documentation>
|
---|
77 | </xs:annotation>
|
---|
78 | </xs:enumeration>
|
---|
79 | <xs:enumeration value="end">
|
---|
80 | <xs:annotation>
|
---|
81 | <xs:documentation>The "End" key</xs:documentation>
|
---|
82 | </xs:annotation>
|
---|
83 | </xs:enumeration>
|
---|
84 | <xs:enumeration value="enter">
|
---|
85 | <xs:annotation>
|
---|
86 | <xs:documentation>The "Enter" or "Return" key</xs:documentation>
|
---|
87 | </xs:annotation>
|
---|
88 | </xs:enumeration>
|
---|
89 | <xs:enumeration value="escape">
|
---|
90 | <xs:annotation>
|
---|
91 | <xs:documentation>The "Escape" key</xs:documentation>
|
---|
92 | </xs:annotation>
|
---|
93 | </xs:enumeration>
|
---|
94 | <xs:enumeration value="home">
|
---|
95 | <xs:annotation>
|
---|
96 | <xs:documentation>The "Home" key</xs:documentation>
|
---|
97 | </xs:annotation>
|
---|
98 | </xs:enumeration>
|
---|
99 | <xs:enumeration value="insert">
|
---|
100 | <xs:annotation>
|
---|
101 | <xs:documentation>The "Insert" key</xs:documentation>
|
---|
102 | </xs:annotation>
|
---|
103 | </xs:enumeration>
|
---|
104 | <xs:enumeration value="left">
|
---|
105 | <xs:annotation>
|
---|
106 | <xs:documentation>The left arrow</xs:documentation>
|
---|
107 | </xs:annotation>
|
---|
108 | </xs:enumeration>
|
---|
109 | <xs:enumeration value="meta">
|
---|
110 | <xs:annotation>
|
---|
111 | <xs:documentation>The "Meta" key</xs:documentation>
|
---|
112 | </xs:annotation>
|
---|
113 | </xs:enumeration>
|
---|
114 | <xs:enumeration value="option">
|
---|
115 | <xs:annotation>
|
---|
116 | <xs:documentation>The "Option" key</xs:documentation>
|
---|
117 | </xs:annotation>
|
---|
118 | </xs:enumeration>
|
---|
119 | <xs:enumeration value="pagedown">
|
---|
120 | <xs:annotation>
|
---|
121 | <xs:documentation>The page down key</xs:documentation>
|
---|
122 | </xs:annotation>
|
---|
123 | </xs:enumeration>
|
---|
124 | <xs:enumeration value="pageup">
|
---|
125 | <xs:annotation>
|
---|
126 | <xs:documentation>The page up key</xs:documentation>
|
---|
127 | </xs:annotation>
|
---|
128 | </xs:enumeration>
|
---|
129 | <xs:enumeration value="right">
|
---|
130 | <xs:annotation>
|
---|
131 | <xs:documentation>The right arrow</xs:documentation>
|
---|
132 | </xs:annotation>
|
---|
133 | </xs:enumeration>
|
---|
134 | <xs:enumeration value="shift">
|
---|
135 | <xs:annotation>
|
---|
136 | <xs:documentation>The "Shift" key</xs:documentation>
|
---|
137 | </xs:annotation>
|
---|
138 | </xs:enumeration>
|
---|
139 | <xs:enumeration value="space">
|
---|
140 | <xs:annotation>
|
---|
141 | <xs:documentation>The spacebar</xs:documentation>
|
---|
142 | </xs:annotation>
|
---|
143 | </xs:enumeration>
|
---|
144 | <xs:enumeration value="tab">
|
---|
145 | <xs:annotation>
|
---|
146 | <xs:documentation>The "Tab" key</xs:documentation>
|
---|
147 | </xs:annotation>
|
---|
148 | </xs:enumeration>
|
---|
149 | <xs:enumeration value="up">
|
---|
150 | <xs:annotation>
|
---|
151 | <xs:documentation>The up arrow</xs:documentation>
|
---|
152 | </xs:annotation>
|
---|
153 | </xs:enumeration>
|
---|
154 | </xs:restriction>
|
---|
155 | </xs:simpleType>
|
---|
156 | <xs:attributeGroup name="db.keycap.function-enum.attribute">
|
---|
157 | <xs:attribute name="function" type="db:db.keycap.function.enumeration"/>
|
---|
158 | </xs:attributeGroup>
|
---|
159 | <xs:attributeGroup name="db.keycap.function-other.attributes">
|
---|
160 | <xs:attribute name="function">
|
---|
161 | <xs:simpleType>
|
---|
162 | <xs:restriction base="xs:token">
|
---|
163 | <xs:enumeration value="other">
|
---|
164 | <xs:annotation>
|
---|
165 | <xs:documentation>Indicates a non-standard function key</xs:documentation>
|
---|
166 | </xs:annotation>
|
---|
167 | </xs:enumeration>
|
---|
168 | </xs:restriction>
|
---|
169 | </xs:simpleType>
|
---|
170 | </xs:attribute>
|
---|
171 | <xs:attribute name="otherfunction" use="required"/>
|
---|
172 | </xs:attributeGroup>
|
---|
173 | <xs:attributeGroup name="db.keycap.function.attrib">
|
---|
174 | <xs:attribute name="function">
|
---|
175 | <xs:simpleType>
|
---|
176 | <xs:union memberTypes="db:db.keycap.function.enumeration">
|
---|
177 | <xs:simpleType>
|
---|
178 | <xs:restriction base="xs:token">
|
---|
179 | <xs:enumeration value="other">
|
---|
180 | <xs:annotation>
|
---|
181 | <xs:documentation>Indicates a non-standard function key</xs:documentation>
|
---|
182 | </xs:annotation>
|
---|
183 | </xs:enumeration>
|
---|
184 | </xs:restriction>
|
---|
185 | </xs:simpleType>
|
---|
186 | </xs:union>
|
---|
187 | </xs:simpleType>
|
---|
188 | </xs:attribute>
|
---|
189 | <xs:attribute name="otherfunction"/>
|
---|
190 | </xs:attributeGroup>
|
---|
191 | <xs:attributeGroup name="db.keycap.role.attribute">
|
---|
192 | <xs:attribute name="role" use="required"/>
|
---|
193 | </xs:attributeGroup>
|
---|
194 | <xs:attributeGroup name="db.keycap.attlist">
|
---|
195 | <xs:attribute name="role"/>
|
---|
196 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
197 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
198 | <xs:attributeGroup ref="db:db.keycap.function.attrib"/>
|
---|
199 | </xs:attributeGroup>
|
---|
200 | <xs:element name="keycap">
|
---|
201 | <xs:complexType mixed="true">
|
---|
202 | <xs:group ref="db:db._text"/>
|
---|
203 | <xs:attributeGroup ref="db:db.keycap.attlist"/>
|
---|
204 | </xs:complexType>
|
---|
205 | </xs:element>
|
---|
206 | <!-- ====================================================================== -->
|
---|
207 | <xs:attributeGroup name="db.keycode.role.attribute">
|
---|
208 | <xs:attribute name="role" use="required"/>
|
---|
209 | </xs:attributeGroup>
|
---|
210 | <xs:attributeGroup name="db.keycode.attlist">
|
---|
211 | <xs:attribute name="role"/>
|
---|
212 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
213 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
214 | </xs:attributeGroup>
|
---|
215 | <xs:element name="keycode">
|
---|
216 | <xs:complexType mixed="true">
|
---|
217 | <xs:group ref="db:db._text"/>
|
---|
218 | <xs:attributeGroup ref="db:db.keycode.attlist"/>
|
---|
219 | </xs:complexType>
|
---|
220 | </xs:element>
|
---|
221 | <!-- ====================================================================== -->
|
---|
222 | <xs:simpleType name="db.keycombo.action.enumeration">
|
---|
223 | <xs:restriction base="xs:token">
|
---|
224 | <xs:enumeration value="click">
|
---|
225 | <xs:annotation>
|
---|
226 | <xs:documentation>A (single) mouse click.</xs:documentation>
|
---|
227 | </xs:annotation>
|
---|
228 | </xs:enumeration>
|
---|
229 | <xs:enumeration value="double-click">
|
---|
230 | <xs:annotation>
|
---|
231 | <xs:documentation>A double mouse click.</xs:documentation>
|
---|
232 | </xs:annotation>
|
---|
233 | </xs:enumeration>
|
---|
234 | <xs:enumeration value="press">
|
---|
235 | <xs:annotation>
|
---|
236 | <xs:documentation>A mouse or key press.</xs:documentation>
|
---|
237 | </xs:annotation>
|
---|
238 | </xs:enumeration>
|
---|
239 | <xs:enumeration value="seq">
|
---|
240 | <xs:annotation>
|
---|
241 | <xs:documentation>Sequential clicks or presses.</xs:documentation>
|
---|
242 | </xs:annotation>
|
---|
243 | </xs:enumeration>
|
---|
244 | <xs:enumeration value="simul">
|
---|
245 | <xs:annotation>
|
---|
246 | <xs:documentation>Simultaneous clicks or presses.</xs:documentation>
|
---|
247 | </xs:annotation>
|
---|
248 | </xs:enumeration>
|
---|
249 | </xs:restriction>
|
---|
250 | </xs:simpleType>
|
---|
251 | <xs:attributeGroup name="db.keycombo.action-enum.attribute">
|
---|
252 | <xs:attribute name="action" type="db:db.keycombo.action.enumeration"/>
|
---|
253 | </xs:attributeGroup>
|
---|
254 | <xs:attributeGroup name="db.keycombo.action-other.attributes">
|
---|
255 | <xs:attribute name="action">
|
---|
256 | <xs:simpleType>
|
---|
257 | <xs:restriction base="xs:token">
|
---|
258 | <xs:enumeration value="other">
|
---|
259 | <xs:annotation>
|
---|
260 | <xs:documentation>Indicates a non-standard action</xs:documentation>
|
---|
261 | </xs:annotation>
|
---|
262 | </xs:enumeration>
|
---|
263 | </xs:restriction>
|
---|
264 | </xs:simpleType>
|
---|
265 | </xs:attribute>
|
---|
266 | <xs:attribute name="otheraction" use="required"/>
|
---|
267 | </xs:attributeGroup>
|
---|
268 | <xs:attributeGroup name="db.keycombo.action.attrib">
|
---|
269 | <xs:attribute name="action">
|
---|
270 | <xs:simpleType>
|
---|
271 | <xs:union memberTypes="db:db.keycombo.action.enumeration">
|
---|
272 | <xs:simpleType>
|
---|
273 | <xs:restriction base="xs:token">
|
---|
274 | <xs:enumeration value="other">
|
---|
275 | <xs:annotation>
|
---|
276 | <xs:documentation>Indicates a non-standard action</xs:documentation>
|
---|
277 | </xs:annotation>
|
---|
278 | </xs:enumeration>
|
---|
279 | </xs:restriction>
|
---|
280 | </xs:simpleType>
|
---|
281 | </xs:union>
|
---|
282 | </xs:simpleType>
|
---|
283 | </xs:attribute>
|
---|
284 | <xs:attribute name="otheraction"/>
|
---|
285 | </xs:attributeGroup>
|
---|
286 | <xs:attributeGroup name="db.keycombo.role.attribute">
|
---|
287 | <xs:attribute name="role" use="required"/>
|
---|
288 | </xs:attributeGroup>
|
---|
289 | <xs:attributeGroup name="db.keycombo.attlist">
|
---|
290 | <xs:attribute name="role"/>
|
---|
291 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
292 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
293 | <xs:attributeGroup ref="db:db.keycombo.action.attrib"/>
|
---|
294 | </xs:attributeGroup>
|
---|
295 | <xs:element name="keycombo">
|
---|
296 | <xs:complexType>
|
---|
297 | <xs:group maxOccurs="unbounded" ref="db:db.keycombination.contentmodel"/>
|
---|
298 | <xs:attributeGroup ref="db:db.keycombo.attlist"/>
|
---|
299 | </xs:complexType>
|
---|
300 | </xs:element>
|
---|
301 | <!-- ====================================================================== -->
|
---|
302 | <xs:attributeGroup name="db.keysym.role.attribute">
|
---|
303 | <xs:attribute name="role" use="required"/>
|
---|
304 | </xs:attributeGroup>
|
---|
305 | <xs:attributeGroup name="db.keysym.attlist">
|
---|
306 | <xs:attribute name="role"/>
|
---|
307 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
308 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
309 | </xs:attributeGroup>
|
---|
310 | <xs:element name="keysym">
|
---|
311 | <xs:complexType mixed="true">
|
---|
312 | <xs:group ref="db:db._text"/>
|
---|
313 | <xs:attributeGroup ref="db:db.keysym.attlist"/>
|
---|
314 | </xs:complexType>
|
---|
315 | </xs:element>
|
---|
316 | <!-- ====================================================================== -->
|
---|
317 | <xs:attributeGroup name="db.accel.role.attribute">
|
---|
318 | <xs:attribute name="role" use="required"/>
|
---|
319 | </xs:attributeGroup>
|
---|
320 | <xs:attributeGroup name="db.accel.attlist">
|
---|
321 | <xs:attribute name="role"/>
|
---|
322 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
323 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
324 | </xs:attributeGroup>
|
---|
325 | <xs:element name="accel">
|
---|
326 | <xs:complexType mixed="true">
|
---|
327 | <xs:group ref="db:db._text"/>
|
---|
328 | <xs:attributeGroup ref="db:db.accel.attlist"/>
|
---|
329 | </xs:complexType>
|
---|
330 | </xs:element>
|
---|
331 | <!-- ====================================================================== -->
|
---|
332 | <xs:attributeGroup name="db.shortcut.action.attrib">
|
---|
333 | <xs:attributeGroup ref="db:db.keycombo.action.attrib"/>
|
---|
334 | </xs:attributeGroup>
|
---|
335 | <xs:attributeGroup name="db.shortcut.role.attribute">
|
---|
336 | <xs:attribute name="role" use="required"/>
|
---|
337 | </xs:attributeGroup>
|
---|
338 | <xs:attributeGroup name="db.shortcut.attlist">
|
---|
339 | <xs:attribute name="role"/>
|
---|
340 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
341 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
342 | <xs:attributeGroup ref="db:db.shortcut.action.attrib"/>
|
---|
343 | </xs:attributeGroup>
|
---|
344 | <xs:element name="shortcut">
|
---|
345 | <xs:complexType>
|
---|
346 | <xs:group maxOccurs="unbounded" ref="db:db.keycombination.contentmodel"/>
|
---|
347 | <xs:attributeGroup ref="db:db.shortcut.attlist"/>
|
---|
348 | </xs:complexType>
|
---|
349 | </xs:element>
|
---|
350 | </xs:schema>
|
---|