1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://docbook.org/ns/docbook-slides" xmlns:dbs="http://docbook.org/ns/docbook-slides" xmlns:db="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
---|
3 | <xs:include schemaLocation="docbook.xsd"/>
|
---|
4 | <xs:import namespace="http://docbook.org/ns/docbook" schemaLocation="db.xsd"/>
|
---|
5 | <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>
|
---|
6 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
|
---|
7 | <!-- See http://docbook.org/ns/docbook-slides -->
|
---|
8 | <!--
|
---|
9 | This file is part of DocBook Slides V5.0
|
---|
10 |
|
---|
11 | Copyright 2012 Gabor Kovesdan
|
---|
12 |
|
---|
13 | Release: $Id$
|
---|
14 |
|
---|
15 | Permission to use, copy, modify and distribute the DocBook Slides
|
---|
16 | schema and its accompanying documentation for any purpose and without
|
---|
17 | fee is hereby granted in perpetuity, provided that the above copyright
|
---|
18 | notice and this paragraph appear in all copies. The copyright
|
---|
19 | holders make no representation about the suitability of the schema
|
---|
20 | for any purpose. It is provided "as is" without expressed or implied
|
---|
21 | warranty.
|
---|
22 |
|
---|
23 | If you modify the DocBook Slides schema in any way, label your schema
|
---|
24 | as a variant of DocBook Slides. See the reference documentation
|
---|
25 | (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
|
---|
26 | for more information.
|
---|
27 |
|
---|
28 | Please direct all questions, bug reports, or suggestions for changes
|
---|
29 | to the docbook@lists.oasis-open.org mailing list. For more
|
---|
30 | information, see http://www.oasis-open.org/docbook/.
|
---|
31 |
|
---|
32 | ======================================================================
|
---|
33 | -->
|
---|
34 | <!-- Avoid ID clashes -->
|
---|
35 | <xs:attributeGroup name="db._any.attribute">
|
---|
36 | <xs:anyAttribute processContents="skip"/>
|
---|
37 | </xs:attributeGroup>
|
---|
38 | <xs:attributeGroup name="db.common.attributes">
|
---|
39 | <xs:attribute ref="xml:id"/>
|
---|
40 | <xs:attributeGroup ref="db:db.common.base.attributes"/>
|
---|
41 | <xs:attribute name="annotations"/>
|
---|
42 | <xs:attributeGroup ref="dbs:dbs.style.attributes"/>
|
---|
43 | </xs:attributeGroup>
|
---|
44 | <!-- Any element and attribute from the SVG namespace -->
|
---|
45 | <xs:group name="db._any.svg">
|
---|
46 | <xs:sequence>
|
---|
47 | <xs:any namespace="http://www.w3.org/2000/svg" processContents="skip"/>
|
---|
48 | </xs:sequence>
|
---|
49 | </xs:group>
|
---|
50 | <!-- Any element and attribute from the MathML namespace -->
|
---|
51 | <xs:group name="db._any.mml">
|
---|
52 | <xs:sequence>
|
---|
53 | <xs:any namespace="http://www.w3.org/1998/Math/MathML" processContents="skip"/>
|
---|
54 | </xs:sequence>
|
---|
55 | </xs:group>
|
---|
56 | <!-- Any attribute from any namespace -->
|
---|
57 | <xs:attributeGroup name="dbs._any.attribute">
|
---|
58 | <xs:anyAttribute processContents="skip"/>
|
---|
59 | </xs:attributeGroup>
|
---|
60 | <xs:group name="dbs.all.content">
|
---|
61 | <xs:sequence>
|
---|
62 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
63 | <xs:group ref="db:db.all.blocks"/>
|
---|
64 | <xs:element ref="dbs:speakernotes"/>
|
---|
65 | <xs:element ref="dbs:handoutnotes"/>
|
---|
66 | <xs:group ref="dbs:db._any.svg"/>
|
---|
67 | <xs:group ref="dbs:db._any.mml"/>
|
---|
68 | <xs:element ref="dbs:block"/>
|
---|
69 | </xs:choice>
|
---|
70 | </xs:sequence>
|
---|
71 | </xs:group>
|
---|
72 | <xs:element name="block">
|
---|
73 | <xs:annotation>
|
---|
74 | <xs:documentation>Indicates a formatting block that can have its own styling applied</xs:documentation>
|
---|
75 | </xs:annotation>
|
---|
76 | <xs:complexType>
|
---|
77 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="dbs:dbs.all.content"/>
|
---|
78 | <xs:attributeGroup ref="dbs:dbs.block.attlist"/>
|
---|
79 | </xs:complexType>
|
---|
80 | </xs:element>
|
---|
81 | <xs:attributeGroup name="dbs.block.role.attribute">
|
---|
82 | <xs:attribute name="role" use="required">
|
---|
83 | <xs:annotation>
|
---|
84 | <xs:documentation>Role attribute for the block element</xs:documentation>
|
---|
85 | </xs:annotation>
|
---|
86 | </xs:attribute>
|
---|
87 | </xs:attributeGroup>
|
---|
88 | <xs:attributeGroup name="dbs.block.status.attribute">
|
---|
89 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
90 | </xs:attributeGroup>
|
---|
91 | <xs:attributeGroup name="dbs.block.attlist">
|
---|
92 | <xs:attribute name="role">
|
---|
93 | <xs:annotation>
|
---|
94 | <xs:documentation>Role attribute for the block element</xs:documentation>
|
---|
95 | </xs:annotation>
|
---|
96 | </xs:attribute>
|
---|
97 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
98 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
99 | <xs:attribute name="label"/>
|
---|
100 | <xs:attribute name="status"/>
|
---|
101 | </xs:attributeGroup>
|
---|
102 | <xs:element name="slides">
|
---|
103 | <xs:annotation>
|
---|
104 | <xs:documentation>Root element of a slides document</xs:documentation>
|
---|
105 | </xs:annotation>
|
---|
106 | <xs:complexType>
|
---|
107 | <xs:sequence>
|
---|
108 | <xs:group ref="db:db._info.title.req"/>
|
---|
109 | <xs:element minOccurs="0" ref="dbs:speakernotes"/>
|
---|
110 | <xs:element minOccurs="0" ref="dbs:handoutnotes"/>
|
---|
111 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
112 | <xs:element ref="dbs:foil"/>
|
---|
113 | <xs:element ref="dbs:foilgroup"/>
|
---|
114 | </xs:choice>
|
---|
115 | </xs:sequence>
|
---|
116 | <xs:attributeGroup ref="dbs:dbs.slides.attlist"/>
|
---|
117 | </xs:complexType>
|
---|
118 | </xs:element>
|
---|
119 | <xs:attributeGroup name="dbs.slides.role.attribute">
|
---|
120 | <xs:attribute name="role" use="required">
|
---|
121 | <xs:annotation>
|
---|
122 | <xs:documentation>Role attribute for the slides element</xs:documentation>
|
---|
123 | </xs:annotation>
|
---|
124 | </xs:attribute>
|
---|
125 | </xs:attributeGroup>
|
---|
126 | <xs:attributeGroup name="dbs.slides.status.attribute">
|
---|
127 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
128 | </xs:attributeGroup>
|
---|
129 | <xs:attributeGroup name="dbs.slides.attlist">
|
---|
130 | <xs:attribute name="role">
|
---|
131 | <xs:annotation>
|
---|
132 | <xs:documentation>Role attribute for the slides element</xs:documentation>
|
---|
133 | </xs:annotation>
|
---|
134 | </xs:attribute>
|
---|
135 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
136 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
137 | <xs:attribute name="label"/>
|
---|
138 | <xs:attribute name="status"/>
|
---|
139 | </xs:attributeGroup>
|
---|
140 | <xs:element name="foilgroup">
|
---|
141 | <xs:complexType>
|
---|
142 | <xs:sequence>
|
---|
143 | <xs:group ref="db:db._info.title.req"/>
|
---|
144 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="dbs:dbs.all.content"/>
|
---|
145 | <xs:element maxOccurs="unbounded" ref="dbs:foil"/>
|
---|
146 | </xs:sequence>
|
---|
147 | <xs:attributeGroup ref="dbs:dbs.foilgroup.attlist"/>
|
---|
148 | </xs:complexType>
|
---|
149 | </xs:element>
|
---|
150 | <xs:attributeGroup name="dbs.foilgroup.role.attribute">
|
---|
151 | <xs:attribute name="role" use="required">
|
---|
152 | <xs:annotation>
|
---|
153 | <xs:documentation>Role attribute for the foilgroup element</xs:documentation>
|
---|
154 | </xs:annotation>
|
---|
155 | </xs:attribute>
|
---|
156 | </xs:attributeGroup>
|
---|
157 | <xs:attributeGroup name="dbs.foilgroup.status.attribute">
|
---|
158 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
159 | </xs:attributeGroup>
|
---|
160 | <xs:attributeGroup name="dbs.foilgroup.attlist">
|
---|
161 | <xs:attribute name="role">
|
---|
162 | <xs:annotation>
|
---|
163 | <xs:documentation>Role attribute for the foilgroup element</xs:documentation>
|
---|
164 | </xs:annotation>
|
---|
165 | </xs:attribute>
|
---|
166 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
167 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
168 | <xs:attribute name="label"/>
|
---|
169 | <xs:attribute name="status"/>
|
---|
170 | </xs:attributeGroup>
|
---|
171 | <xs:element name="foil">
|
---|
172 | <xs:annotation>
|
---|
173 | <xs:documentation>Indicates a foil that may have some info and content</xs:documentation>
|
---|
174 | </xs:annotation>
|
---|
175 | <xs:complexType>
|
---|
176 | <xs:sequence>
|
---|
177 | <xs:group ref="db:db._info.title.req"/>
|
---|
178 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="dbs:dbs.all.content"/>
|
---|
179 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.navigation.components"/>
|
---|
180 | </xs:sequence>
|
---|
181 | <xs:attributeGroup ref="dbs:dbs.foil.attlist"/>
|
---|
182 | </xs:complexType>
|
---|
183 | </xs:element>
|
---|
184 | <xs:attributeGroup name="dbs.foil.role.attribute">
|
---|
185 | <xs:attribute name="role" use="required">
|
---|
186 | <xs:annotation>
|
---|
187 | <xs:documentation>Role attribute for the foil element</xs:documentation>
|
---|
188 | </xs:annotation>
|
---|
189 | </xs:attribute>
|
---|
190 | </xs:attributeGroup>
|
---|
191 | <xs:attributeGroup name="dbs.foil.status.attribute">
|
---|
192 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
193 | </xs:attributeGroup>
|
---|
194 | <xs:attributeGroup name="dbs.foil.attlist">
|
---|
195 | <xs:attribute name="role">
|
---|
196 | <xs:annotation>
|
---|
197 | <xs:documentation>Role attribute for the foil element</xs:documentation>
|
---|
198 | </xs:annotation>
|
---|
199 | </xs:attribute>
|
---|
200 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
201 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
202 | <xs:attribute name="label"/>
|
---|
203 | <xs:attribute name="status"/>
|
---|
204 | </xs:attributeGroup>
|
---|
205 | <xs:element name="speakernotes">
|
---|
206 | <xs:annotation>
|
---|
207 | <xs:documentation>Indicates notes for the speaker</xs:documentation>
|
---|
208 | </xs:annotation>
|
---|
209 | <xs:complexType>
|
---|
210 | <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
211 | <xs:attributeGroup ref="dbs:dbs.speakernotes.attlist"/>
|
---|
212 | </xs:complexType>
|
---|
213 | </xs:element>
|
---|
214 | <xs:attributeGroup name="dbs.speakernotes.role.attribute">
|
---|
215 | <xs:attribute name="role" use="required">
|
---|
216 | <xs:annotation>
|
---|
217 | <xs:documentation>Role attribute for the speakernotes element</xs:documentation>
|
---|
218 | </xs:annotation>
|
---|
219 | </xs:attribute>
|
---|
220 | </xs:attributeGroup>
|
---|
221 | <xs:attributeGroup name="dbs.speakernotes.attlist">
|
---|
222 | <xs:attribute name="role">
|
---|
223 | <xs:annotation>
|
---|
224 | <xs:documentation>Role attribute for the speakernotes element</xs:documentation>
|
---|
225 | </xs:annotation>
|
---|
226 | </xs:attribute>
|
---|
227 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
228 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
229 | </xs:attributeGroup>
|
---|
230 | <xs:element name="handoutnotes">
|
---|
231 | <xs:annotation>
|
---|
232 | <xs:documentation>Indicates notes that are meant for printed copies</xs:documentation>
|
---|
233 | </xs:annotation>
|
---|
234 | <xs:complexType>
|
---|
235 | <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
236 | <xs:attributeGroup ref="dbs:dbs.handoutnotes.attlist"/>
|
---|
237 | </xs:complexType>
|
---|
238 | </xs:element>
|
---|
239 | <xs:attributeGroup name="dbs.handoutnotes.role.attribute">
|
---|
240 | <xs:annotation>
|
---|
241 | <xs:documentation>Role attribute for the handoutnotes element</xs:documentation>
|
---|
242 | </xs:annotation>
|
---|
243 | <xs:attribute name="role" use="required">
|
---|
244 | <xs:annotation>
|
---|
245 | <xs:documentation>Role attribute for the handoutnotes element</xs:documentation>
|
---|
246 | </xs:annotation>
|
---|
247 | </xs:attribute>
|
---|
248 | </xs:attributeGroup>
|
---|
249 | <xs:attributeGroup name="dbs.handoutnotes.attlist">
|
---|
250 | <xs:attribute name="role">
|
---|
251 | <xs:annotation>
|
---|
252 | <xs:documentation>Role attribute for the handoutnotes element</xs:documentation>
|
---|
253 | </xs:annotation>
|
---|
254 | </xs:attribute>
|
---|
255 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
256 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
257 | </xs:attributeGroup>
|
---|
258 | <xs:attributeGroup name="dbs.style.attributes">
|
---|
259 | <xs:attribute name="incremental" form="qualified">
|
---|
260 | <xs:annotation>
|
---|
261 | <xs:documentation>Attribute indicating an incremental part</xs:documentation>
|
---|
262 | </xs:annotation>
|
---|
263 | <xs:simpleType>
|
---|
264 | <xs:restriction base="xs:token">
|
---|
265 | <xs:enumeration value="0">
|
---|
266 | <xs:annotation>
|
---|
267 | <xs:documentation>disabled</xs:documentation>
|
---|
268 | </xs:annotation>
|
---|
269 | </xs:enumeration>
|
---|
270 | <xs:enumeration value="1">
|
---|
271 | <xs:annotation>
|
---|
272 | <xs:documentation>enabled</xs:documentation>
|
---|
273 | </xs:annotation>
|
---|
274 | </xs:enumeration>
|
---|
275 | </xs:restriction>
|
---|
276 | </xs:simpleType>
|
---|
277 | </xs:attribute>
|
---|
278 | <xs:attribute name="collapsible" form="qualified">
|
---|
279 | <xs:annotation>
|
---|
280 | <xs:documentation>Attribute indicating a collapsible part</xs:documentation>
|
---|
281 | </xs:annotation>
|
---|
282 | <xs:simpleType>
|
---|
283 | <xs:restriction base="xs:token">
|
---|
284 | <xs:enumeration value="0">
|
---|
285 | <xs:annotation>
|
---|
286 | <xs:documentation>disabled</xs:documentation>
|
---|
287 | </xs:annotation>
|
---|
288 | </xs:enumeration>
|
---|
289 | <xs:enumeration value="1">
|
---|
290 | <xs:annotation>
|
---|
291 | <xs:documentation>enabled</xs:documentation>
|
---|
292 | </xs:annotation>
|
---|
293 | </xs:enumeration>
|
---|
294 | <xs:enumeration value="expanded">
|
---|
295 | <xs:annotation>
|
---|
296 | <xs:documentation>enabled and expanded by default</xs:documentation>
|
---|
297 | </xs:annotation>
|
---|
298 | </xs:enumeration>
|
---|
299 | </xs:restriction>
|
---|
300 | </xs:simpleType>
|
---|
301 | </xs:attribute>
|
---|
302 | <xs:attribute name="style" form="qualified">
|
---|
303 | <xs:annotation>
|
---|
304 | <xs:documentation>Attribute indicating a formatting style class</xs:documentation>
|
---|
305 | </xs:annotation>
|
---|
306 | </xs:attribute>
|
---|
307 | </xs:attributeGroup>
|
---|
308 | <xs:attributeGroup name="dbs.incremental.attribute">
|
---|
309 | <xs:attribute name="incremental" use="required" form="qualified">
|
---|
310 | <xs:annotation>
|
---|
311 | <xs:documentation>Attribute indicating an incremental part</xs:documentation>
|
---|
312 | </xs:annotation>
|
---|
313 | <xs:simpleType>
|
---|
314 | <xs:restriction base="xs:token">
|
---|
315 | <xs:enumeration value="0">
|
---|
316 | <xs:annotation>
|
---|
317 | <xs:documentation>disabled</xs:documentation>
|
---|
318 | </xs:annotation>
|
---|
319 | </xs:enumeration>
|
---|
320 | <xs:enumeration value="1">
|
---|
321 | <xs:annotation>
|
---|
322 | <xs:documentation>enabled</xs:documentation>
|
---|
323 | </xs:annotation>
|
---|
324 | </xs:enumeration>
|
---|
325 | </xs:restriction>
|
---|
326 | </xs:simpleType>
|
---|
327 | </xs:attribute>
|
---|
328 | </xs:attributeGroup>
|
---|
329 | <xs:attributeGroup name="dbs.collapsible.attribute">
|
---|
330 | <xs:attribute name="collapsible" use="required" form="qualified">
|
---|
331 | <xs:annotation>
|
---|
332 | <xs:documentation>Attribute indicating a collapsible part</xs:documentation>
|
---|
333 | </xs:annotation>
|
---|
334 | <xs:simpleType>
|
---|
335 | <xs:restriction base="xs:token">
|
---|
336 | <xs:enumeration value="0">
|
---|
337 | <xs:annotation>
|
---|
338 | <xs:documentation>disabled</xs:documentation>
|
---|
339 | </xs:annotation>
|
---|
340 | </xs:enumeration>
|
---|
341 | <xs:enumeration value="1">
|
---|
342 | <xs:annotation>
|
---|
343 | <xs:documentation>enabled</xs:documentation>
|
---|
344 | </xs:annotation>
|
---|
345 | </xs:enumeration>
|
---|
346 | <xs:enumeration value="expanded">
|
---|
347 | <xs:annotation>
|
---|
348 | <xs:documentation>enabled and expanded by default</xs:documentation>
|
---|
349 | </xs:annotation>
|
---|
350 | </xs:enumeration>
|
---|
351 | </xs:restriction>
|
---|
352 | </xs:simpleType>
|
---|
353 | </xs:attribute>
|
---|
354 | </xs:attributeGroup>
|
---|
355 | <xs:attributeGroup name="dbs.style.attribute">
|
---|
356 | <xs:attribute name="style" use="required" form="qualified">
|
---|
357 | <xs:annotation>
|
---|
358 | <xs:documentation>Attribute indicating a formatting style class</xs:documentation>
|
---|
359 | </xs:annotation>
|
---|
360 | </xs:attribute>
|
---|
361 | </xs:attributeGroup>
|
---|
362 | </xs:schema>
|
---|