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: glossary.rnc 8931 2010-10-20 13:29:20Z 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.glossary.inlines">
|
---|
37 | <xs:choice>
|
---|
38 | <xs:group ref="db:db.firstterm"/>
|
---|
39 | <xs:group ref="db:db.glossterm"/>
|
---|
40 | <xs:group ref="db:db._firstterm"/>
|
---|
41 | <xs:group ref="db:db._glossterm"/>
|
---|
42 | </xs:choice>
|
---|
43 | </xs:group>
|
---|
44 | <!-- ====================================================================== -->
|
---|
45 | <xs:attributeGroup name="db.baseform.attribute">
|
---|
46 | <xs:attribute name="baseform"/>
|
---|
47 | </xs:attributeGroup>
|
---|
48 | <!-- ====================================================================== -->
|
---|
49 | <xs:attributeGroup name="db.glosslist.role.attribute">
|
---|
50 | <xs:attribute name="role" use="required"/>
|
---|
51 | </xs:attributeGroup>
|
---|
52 | <xs:attributeGroup name="db.glosslist.attlist">
|
---|
53 | <xs:attribute name="role"/>
|
---|
54 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
55 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
56 | </xs:attributeGroup>
|
---|
57 | <xs:group name="db.glosslist.info">
|
---|
58 | <xs:sequence>
|
---|
59 | <xs:group ref="db:db._info.title.only"/>
|
---|
60 | </xs:sequence>
|
---|
61 | </xs:group>
|
---|
62 | <xs:element name="glosslist">
|
---|
63 | <xs:complexType>
|
---|
64 | <xs:sequence>
|
---|
65 | <xs:group minOccurs="0" ref="db:db.glosslist.info"/>
|
---|
66 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
67 | <xs:element maxOccurs="unbounded" ref="db:glossentry"/>
|
---|
68 | </xs:sequence>
|
---|
69 | <xs:attributeGroup ref="db:db.glosslist.attlist"/>
|
---|
70 | </xs:complexType>
|
---|
71 | </xs:element>
|
---|
72 | <!-- ====================================================================== -->
|
---|
73 | <xs:attributeGroup name="db.glossentry.role.attribute">
|
---|
74 | <xs:attribute name="role" use="required"/>
|
---|
75 | </xs:attributeGroup>
|
---|
76 | <xs:attributeGroup name="db.glossentry.sortas.attribute">
|
---|
77 | <xs:attribute name="sortas" use="required"/>
|
---|
78 | </xs:attributeGroup>
|
---|
79 | <xs:attributeGroup name="db.glossentry.attlist">
|
---|
80 | <xs:attribute name="role"/>
|
---|
81 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
82 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
83 | <xs:attribute name="sortas"/>
|
---|
84 | </xs:attributeGroup>
|
---|
85 | <xs:element name="glossentry">
|
---|
86 | <xs:complexType>
|
---|
87 | <xs:sequence>
|
---|
88 | <xs:group ref="db:db.glossterm"/>
|
---|
89 | <xs:element minOccurs="0" ref="db:acronym"/>
|
---|
90 | <xs:element minOccurs="0" ref="db:abbrev"/>
|
---|
91 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.indexterm"/>
|
---|
92 | <xs:choice>
|
---|
93 | <xs:element ref="db:glosssee"/>
|
---|
94 | <xs:element maxOccurs="unbounded" ref="db:glossdef"/>
|
---|
95 | </xs:choice>
|
---|
96 | </xs:sequence>
|
---|
97 | <xs:attributeGroup ref="db:db.glossentry.attlist"/>
|
---|
98 | </xs:complexType>
|
---|
99 | </xs:element>
|
---|
100 | <!-- ====================================================================== -->
|
---|
101 | <xs:attributeGroup name="db.glossdef.role.attribute">
|
---|
102 | <xs:attribute name="role" use="required"/>
|
---|
103 | </xs:attributeGroup>
|
---|
104 | <xs:attributeGroup name="db.glossdef.subject.attribute">
|
---|
105 | <xs:attribute name="subject" use="required"/>
|
---|
106 | </xs:attributeGroup>
|
---|
107 | <xs:attributeGroup name="db.glossdef.attlist">
|
---|
108 | <xs:attribute name="role"/>
|
---|
109 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
110 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
111 | <xs:attribute name="subject"/>
|
---|
112 | </xs:attributeGroup>
|
---|
113 | <xs:element name="glossdef">
|
---|
114 | <xs:complexType>
|
---|
115 | <xs:sequence>
|
---|
116 | <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
117 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossseealso"/>
|
---|
118 | </xs:sequence>
|
---|
119 | <xs:attributeGroup ref="db:db.glossdef.attlist"/>
|
---|
120 | </xs:complexType>
|
---|
121 | </xs:element>
|
---|
122 | <!-- ====================================================================== -->
|
---|
123 | <xs:attributeGroup name="db.glosssee.role.attribute">
|
---|
124 | <xs:attribute name="role" use="required"/>
|
---|
125 | </xs:attributeGroup>
|
---|
126 | <xs:attributeGroup name="db.glosssee.otherterm.attribute">
|
---|
127 | <xs:attribute name="otherterm" use="required" type="xs:IDREF"/>
|
---|
128 | </xs:attributeGroup>
|
---|
129 | <xs:attributeGroup name="db.glosssee.attlist">
|
---|
130 | <xs:attribute name="role"/>
|
---|
131 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
132 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
133 | <xs:attribute name="otherterm" type="xs:IDREF"/>
|
---|
134 | </xs:attributeGroup>
|
---|
135 | <xs:element name="glosssee">
|
---|
136 | <xs:complexType mixed="true">
|
---|
137 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
138 | <xs:attributeGroup ref="db:db.glosssee.attlist"/>
|
---|
139 | </xs:complexType>
|
---|
140 | </xs:element>
|
---|
141 | <!-- ====================================================================== -->
|
---|
142 | <xs:attributeGroup name="db.glossseealso.role.attribute">
|
---|
143 | <xs:attribute name="role" use="required"/>
|
---|
144 | </xs:attributeGroup>
|
---|
145 | <xs:attributeGroup name="db.glossseealso.otherterm.attribute">
|
---|
146 | <xs:attribute name="otherterm" use="required" type="xs:IDREF"/>
|
---|
147 | </xs:attributeGroup>
|
---|
148 | <xs:attributeGroup name="db.glossseealso.attlist">
|
---|
149 | <xs:attribute name="role"/>
|
---|
150 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
151 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
152 | <xs:attribute name="otherterm" type="xs:IDREF"/>
|
---|
153 | </xs:attributeGroup>
|
---|
154 | <xs:element name="glossseealso">
|
---|
155 | <xs:complexType mixed="true">
|
---|
156 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
157 | <xs:attributeGroup ref="db:db.glossseealso.attlist"/>
|
---|
158 | </xs:complexType>
|
---|
159 | </xs:element>
|
---|
160 | <!-- ====================================================================== -->
|
---|
161 | <xs:attributeGroup name="db.firstterm.role.attribute">
|
---|
162 | <xs:attribute name="role" use="required"/>
|
---|
163 | </xs:attributeGroup>
|
---|
164 | <xs:attributeGroup name="db.firstterm.attlist">
|
---|
165 | <xs:attribute name="role"/>
|
---|
166 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
167 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
168 | <xs:attributeGroup ref="db:db.baseform.attribute"/>
|
---|
169 | </xs:attributeGroup>
|
---|
170 | <xs:group name="db.firstterm">
|
---|
171 | <xs:sequence>
|
---|
172 | <xs:element name="firstterm">
|
---|
173 | <xs:complexType mixed="true">
|
---|
174 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
175 | <xs:attributeGroup ref="db:db.firstterm.attlist"/>
|
---|
176 | </xs:complexType>
|
---|
177 | </xs:element>
|
---|
178 | </xs:sequence>
|
---|
179 | </xs:group>
|
---|
180 | <!-- ====================================================================== -->
|
---|
181 | <xs:attributeGroup name="db._firstterm.role.attribute">
|
---|
182 | <xs:attribute name="role" use="required"/>
|
---|
183 | </xs:attributeGroup>
|
---|
184 | <xs:attributeGroup name="db._firstterm.attlist">
|
---|
185 | <xs:attribute name="role"/>
|
---|
186 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
187 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
188 | <xs:attributeGroup ref="db:db.baseform.attribute"/>
|
---|
189 | </xs:attributeGroup>
|
---|
190 | <xs:group name="db._firstterm">
|
---|
191 | <xs:sequence>
|
---|
192 | <xs:element name="firstterm">
|
---|
193 | <xs:complexType mixed="true">
|
---|
194 | <xs:group ref="db:db._text"/>
|
---|
195 | <xs:attributeGroup ref="db:db._firstterm.attlist"/>
|
---|
196 | </xs:complexType>
|
---|
197 | </xs:element>
|
---|
198 | </xs:sequence>
|
---|
199 | </xs:group>
|
---|
200 | <!-- ====================================================================== -->
|
---|
201 | <xs:attributeGroup name="db.glossterm.role.attribute">
|
---|
202 | <xs:attribute name="role" use="required"/>
|
---|
203 | </xs:attributeGroup>
|
---|
204 | <xs:attributeGroup name="db.glossterm.attlist">
|
---|
205 | <xs:attribute name="role"/>
|
---|
206 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
207 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
208 | <xs:attributeGroup ref="db:db.baseform.attribute"/>
|
---|
209 | </xs:attributeGroup>
|
---|
210 | <xs:group name="db.glossterm">
|
---|
211 | <xs:sequence>
|
---|
212 | <xs:element name="glossterm">
|
---|
213 | <xs:complexType mixed="true">
|
---|
214 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
215 | <xs:attributeGroup ref="db:db.glossterm.attlist"/>
|
---|
216 | </xs:complexType>
|
---|
217 | </xs:element>
|
---|
218 | </xs:sequence>
|
---|
219 | </xs:group>
|
---|
220 | <!-- ====================================================================== -->
|
---|
221 | <xs:attributeGroup name="db._glossterm.role.attribute">
|
---|
222 | <xs:attribute name="role" use="required"/>
|
---|
223 | </xs:attributeGroup>
|
---|
224 | <xs:attributeGroup name="db._glossterm.attlist">
|
---|
225 | <xs:attribute name="role"/>
|
---|
226 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
227 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
228 | <xs:attributeGroup ref="db:db.baseform.attribute"/>
|
---|
229 | </xs:attributeGroup>
|
---|
230 | <xs:group name="db._glossterm">
|
---|
231 | <xs:sequence>
|
---|
232 | <xs:element name="glossterm">
|
---|
233 | <xs:complexType mixed="true">
|
---|
234 | <xs:group ref="db:db._text"/>
|
---|
235 | <xs:attributeGroup ref="db:db._glossterm.attlist"/>
|
---|
236 | </xs:complexType>
|
---|
237 | </xs:element>
|
---|
238 | </xs:sequence>
|
---|
239 | </xs:group>
|
---|
240 | <!-- ====================================================================== -->
|
---|
241 | <xs:attributeGroup name="db.glossary.status.attribute">
|
---|
242 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
243 | </xs:attributeGroup>
|
---|
244 | <xs:attributeGroup name="db.glossary.role.attribute">
|
---|
245 | <xs:attribute name="role" use="required"/>
|
---|
246 | </xs:attributeGroup>
|
---|
247 | <xs:attributeGroup name="db.glossary.attlist">
|
---|
248 | <xs:attribute name="role"/>
|
---|
249 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
250 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
251 | <xs:attribute name="label"/>
|
---|
252 | <xs:attribute name="status"/>
|
---|
253 | </xs:attributeGroup>
|
---|
254 | <xs:group name="db.glossary.info">
|
---|
255 | <xs:sequence>
|
---|
256 | <xs:group ref="db:db._info"/>
|
---|
257 | </xs:sequence>
|
---|
258 | </xs:group>
|
---|
259 | <xs:element name="glossary">
|
---|
260 | <xs:complexType>
|
---|
261 | <xs:sequence>
|
---|
262 | <xs:group ref="db:db.glossary.info"/>
|
---|
263 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
264 | <xs:choice>
|
---|
265 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossdiv"/>
|
---|
266 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:glossentry"/>
|
---|
267 | </xs:choice>
|
---|
268 | <xs:element minOccurs="0" ref="db:bibliography"/>
|
---|
269 | </xs:sequence>
|
---|
270 | <xs:attributeGroup ref="db:db.glossary.attlist"/>
|
---|
271 | </xs:complexType>
|
---|
272 | </xs:element>
|
---|
273 | <!-- ====================================================================== -->
|
---|
274 | <xs:attributeGroup name="db.glossdiv.status.attribute">
|
---|
275 | <xs:attributeGroup ref="db:db.status.attribute"/>
|
---|
276 | </xs:attributeGroup>
|
---|
277 | <xs:attributeGroup name="db.glossdiv.role.attribute">
|
---|
278 | <xs:attribute name="role" use="required"/>
|
---|
279 | </xs:attributeGroup>
|
---|
280 | <xs:attributeGroup name="db.glossdiv.attlist">
|
---|
281 | <xs:attribute name="role"/>
|
---|
282 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
283 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
284 | <xs:attribute name="label"/>
|
---|
285 | <xs:attribute name="status"/>
|
---|
286 | </xs:attributeGroup>
|
---|
287 | <xs:group name="db.glossdiv.info">
|
---|
288 | <xs:sequence>
|
---|
289 | <xs:group ref="db:db._info.title.req"/>
|
---|
290 | </xs:sequence>
|
---|
291 | </xs:group>
|
---|
292 | <xs:element name="glossdiv">
|
---|
293 | <xs:complexType>
|
---|
294 | <xs:sequence>
|
---|
295 | <xs:group ref="db:db.glossdiv.info"/>
|
---|
296 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
297 | <xs:element maxOccurs="unbounded" ref="db:glossentry"/>
|
---|
298 | </xs:sequence>
|
---|
299 | <xs:attributeGroup ref="db:db.glossdiv.attlist"/>
|
---|
300 | </xs:complexType>
|
---|
301 | </xs:element>
|
---|
302 | <!-- ====================================================================== -->
|
---|
303 | <xs:attributeGroup name="db.termdef.role.attribute">
|
---|
304 | <xs:attribute name="role" use="required"/>
|
---|
305 | </xs:attributeGroup>
|
---|
306 | <xs:attributeGroup name="db.termdef.attlist">
|
---|
307 | <xs:attribute name="role"/>
|
---|
308 | <xs:attribute name="sortas"/>
|
---|
309 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
310 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
311 | <xs:attributeGroup ref="db:db.baseform.attribute"/>
|
---|
312 | </xs:attributeGroup>
|
---|
313 | <xs:element name="termdef" substitutionGroup="db:db.technical.inlines">
|
---|
314 | <xs:complexType mixed="true">
|
---|
315 | <xs:group minOccurs="0" maxOccurs="unbounded" ref="db:db.all.inlines"/>
|
---|
316 | <xs:attributeGroup ref="db:db.termdef.attlist"/>
|
---|
317 | </xs:complexType>
|
---|
318 | </xs:element>
|
---|
319 | </xs:schema>
|
---|