source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/slides.rng@ 4d4915a

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 7.5 7.6 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 4d4915a was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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