Debian Codegraph @

docbook-xsl-ns/slides/schema/xsd/slides.xsd

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