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 | <!-- ====================================================================== -->
|
---|
37 | <xs:attributeGroup name="db.productname.role.attribute">
|
---|
38 | <xs:attribute name="role" use="required"/>
|
---|
39 | </xs:attributeGroup>
|
---|
40 | <xs:simpleType name="db.productname.class.enumeration">
|
---|
41 | <xs:restriction base="xs:token">
|
---|
42 | <xs:enumeration value="copyright">
|
---|
43 | <xs:annotation>
|
---|
44 | <xs:documentation>A name with a copyright</xs:documentation>
|
---|
45 | </xs:annotation>
|
---|
46 | </xs:enumeration>
|
---|
47 | <xs:enumeration value="registered">
|
---|
48 | <xs:annotation>
|
---|
49 | <xs:documentation>A name with a registered copyright</xs:documentation>
|
---|
50 | </xs:annotation>
|
---|
51 | </xs:enumeration>
|
---|
52 | <xs:enumeration value="service">
|
---|
53 | <xs:annotation>
|
---|
54 | <xs:documentation>A name of a service</xs:documentation>
|
---|
55 | </xs:annotation>
|
---|
56 | </xs:enumeration>
|
---|
57 | <xs:enumeration value="trade">
|
---|
58 | <xs:annotation>
|
---|
59 | <xs:documentation>A name which is trademarked</xs:documentation>
|
---|
60 | </xs:annotation>
|
---|
61 | </xs:enumeration>
|
---|
62 | </xs:restriction>
|
---|
63 | </xs:simpleType>
|
---|
64 | <xs:attributeGroup name="db.productname.class.attribute">
|
---|
65 | <xs:attribute name="class" use="required" type="db:db.productname.class.enumeration"/>
|
---|
66 | </xs:attributeGroup>
|
---|
67 | <xs:attributeGroup name="db.productname.attlist">
|
---|
68 | <xs:attribute name="role"/>
|
---|
69 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
70 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
71 | <xs:attribute name="class" type="db:db.productname.class.enumeration"/>
|
---|
72 | </xs:attributeGroup>
|
---|
73 | <xs:element name="productname" substitutionGroup="db:db.product.inlines">
|
---|
74 | <xs:complexType mixed="true">
|
---|
75 | <xs:group ref="db:db._text"/>
|
---|
76 | <xs:attributeGroup ref="db:db.productname.attlist"/>
|
---|
77 | </xs:complexType>
|
---|
78 | </xs:element>
|
---|
79 | <!-- ====================================================================== -->
|
---|
80 | <xs:attributeGroup name="db.productnumber.role.attribute">
|
---|
81 | <xs:attribute name="role" use="required"/>
|
---|
82 | </xs:attributeGroup>
|
---|
83 | <xs:attributeGroup name="db.productnumber.attlist">
|
---|
84 | <xs:attribute name="role"/>
|
---|
85 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
86 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
87 | </xs:attributeGroup>
|
---|
88 | <xs:element name="productnumber" substitutionGroup="db:db.product.inlines">
|
---|
89 | <xs:complexType mixed="true">
|
---|
90 | <xs:group ref="db:db._text"/>
|
---|
91 | <xs:attributeGroup ref="db:db.productnumber.attlist"/>
|
---|
92 | </xs:complexType>
|
---|
93 | </xs:element>
|
---|
94 | <!-- ====================================================================== -->
|
---|
95 | <xs:simpleType name="db.database.class.enumeration">
|
---|
96 | <xs:restriction base="xs:token">
|
---|
97 | <xs:enumeration value="altkey">
|
---|
98 | <xs:annotation>
|
---|
99 | <xs:documentation>An alternate or secondary key</xs:documentation>
|
---|
100 | </xs:annotation>
|
---|
101 | </xs:enumeration>
|
---|
102 | <xs:enumeration value="constraint">
|
---|
103 | <xs:annotation>
|
---|
104 | <xs:documentation>A constraint</xs:documentation>
|
---|
105 | </xs:annotation>
|
---|
106 | </xs:enumeration>
|
---|
107 | <xs:enumeration value="datatype">
|
---|
108 | <xs:annotation>
|
---|
109 | <xs:documentation>A data type</xs:documentation>
|
---|
110 | </xs:annotation>
|
---|
111 | </xs:enumeration>
|
---|
112 | <xs:enumeration value="field">
|
---|
113 | <xs:annotation>
|
---|
114 | <xs:documentation>A field</xs:documentation>
|
---|
115 | </xs:annotation>
|
---|
116 | </xs:enumeration>
|
---|
117 | <xs:enumeration value="foreignkey">
|
---|
118 | <xs:annotation>
|
---|
119 | <xs:documentation>A foreign key</xs:documentation>
|
---|
120 | </xs:annotation>
|
---|
121 | </xs:enumeration>
|
---|
122 | <xs:enumeration value="group">
|
---|
123 | <xs:annotation>
|
---|
124 | <xs:documentation>A group</xs:documentation>
|
---|
125 | </xs:annotation>
|
---|
126 | </xs:enumeration>
|
---|
127 | <xs:enumeration value="index">
|
---|
128 | <xs:annotation>
|
---|
129 | <xs:documentation>An index</xs:documentation>
|
---|
130 | </xs:annotation>
|
---|
131 | </xs:enumeration>
|
---|
132 | <xs:enumeration value="key1">
|
---|
133 | <xs:annotation>
|
---|
134 | <xs:documentation>The first or primary key</xs:documentation>
|
---|
135 | </xs:annotation>
|
---|
136 | </xs:enumeration>
|
---|
137 | <xs:enumeration value="key2">
|
---|
138 | <xs:annotation>
|
---|
139 | <xs:documentation>An alternate or secondary key</xs:documentation>
|
---|
140 | </xs:annotation>
|
---|
141 | </xs:enumeration>
|
---|
142 | <xs:enumeration value="name">
|
---|
143 | <xs:annotation>
|
---|
144 | <xs:documentation>A name</xs:documentation>
|
---|
145 | </xs:annotation>
|
---|
146 | </xs:enumeration>
|
---|
147 | <xs:enumeration value="primarykey">
|
---|
148 | <xs:annotation>
|
---|
149 | <xs:documentation>The primary key</xs:documentation>
|
---|
150 | </xs:annotation>
|
---|
151 | </xs:enumeration>
|
---|
152 | <xs:enumeration value="procedure">
|
---|
153 | <xs:annotation>
|
---|
154 | <xs:documentation>A (stored) procedure</xs:documentation>
|
---|
155 | </xs:annotation>
|
---|
156 | </xs:enumeration>
|
---|
157 | <xs:enumeration value="record">
|
---|
158 | <xs:annotation>
|
---|
159 | <xs:documentation>A record</xs:documentation>
|
---|
160 | </xs:annotation>
|
---|
161 | </xs:enumeration>
|
---|
162 | <xs:enumeration value="rule">
|
---|
163 | <xs:annotation>
|
---|
164 | <xs:documentation>A rule</xs:documentation>
|
---|
165 | </xs:annotation>
|
---|
166 | </xs:enumeration>
|
---|
167 | <xs:enumeration value="secondarykey">
|
---|
168 | <xs:annotation>
|
---|
169 | <xs:documentation>The secondary key</xs:documentation>
|
---|
170 | </xs:annotation>
|
---|
171 | </xs:enumeration>
|
---|
172 | <xs:enumeration value="table">
|
---|
173 | <xs:annotation>
|
---|
174 | <xs:documentation>A table</xs:documentation>
|
---|
175 | </xs:annotation>
|
---|
176 | </xs:enumeration>
|
---|
177 | <xs:enumeration value="user">
|
---|
178 | <xs:annotation>
|
---|
179 | <xs:documentation>A user</xs:documentation>
|
---|
180 | </xs:annotation>
|
---|
181 | </xs:enumeration>
|
---|
182 | <xs:enumeration value="view">
|
---|
183 | <xs:annotation>
|
---|
184 | <xs:documentation>A view</xs:documentation>
|
---|
185 | </xs:annotation>
|
---|
186 | </xs:enumeration>
|
---|
187 | </xs:restriction>
|
---|
188 | </xs:simpleType>
|
---|
189 | <xs:attributeGroup name="db.database.class.attribute">
|
---|
190 | <xs:attribute name="class" use="required" type="db:db.database.class.enumeration"/>
|
---|
191 | </xs:attributeGroup>
|
---|
192 | <xs:attributeGroup name="db.database.role.attribute">
|
---|
193 | <xs:attribute name="role" use="required"/>
|
---|
194 | </xs:attributeGroup>
|
---|
195 | <xs:attributeGroup name="db.database.attlist">
|
---|
196 | <xs:attribute name="role"/>
|
---|
197 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
198 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
199 | <xs:attribute name="class" type="db:db.database.class.enumeration"/>
|
---|
200 | </xs:attributeGroup>
|
---|
201 | <xs:element name="database" substitutionGroup="db:db.product.inlines">
|
---|
202 | <xs:complexType mixed="true">
|
---|
203 | <xs:group ref="db:db._text"/>
|
---|
204 | <xs:attributeGroup ref="db:db.database.attlist"/>
|
---|
205 | </xs:complexType>
|
---|
206 | </xs:element>
|
---|
207 | <!-- ====================================================================== -->
|
---|
208 | <xs:simpleType name="db.application.class.enumeration">
|
---|
209 | <xs:restriction base="xs:token">
|
---|
210 | <xs:enumeration value="hardware">
|
---|
211 | <xs:annotation>
|
---|
212 | <xs:documentation>A hardware application</xs:documentation>
|
---|
213 | </xs:annotation>
|
---|
214 | </xs:enumeration>
|
---|
215 | <xs:enumeration value="software">
|
---|
216 | <xs:annotation>
|
---|
217 | <xs:documentation>A software application</xs:documentation>
|
---|
218 | </xs:annotation>
|
---|
219 | </xs:enumeration>
|
---|
220 | </xs:restriction>
|
---|
221 | </xs:simpleType>
|
---|
222 | <xs:attributeGroup name="db.application.class.attribute">
|
---|
223 | <xs:attribute name="class" use="required" type="db:db.application.class.enumeration"/>
|
---|
224 | </xs:attributeGroup>
|
---|
225 | <xs:attributeGroup name="db.application.role.attribute">
|
---|
226 | <xs:attribute name="role" use="required"/>
|
---|
227 | </xs:attributeGroup>
|
---|
228 | <xs:attributeGroup name="db.application.attlist">
|
---|
229 | <xs:attribute name="role"/>
|
---|
230 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
231 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
232 | <xs:attribute name="class" type="db:db.application.class.enumeration"/>
|
---|
233 | </xs:attributeGroup>
|
---|
234 | <xs:element name="application" substitutionGroup="db:db.product.inlines">
|
---|
235 | <xs:complexType mixed="true">
|
---|
236 | <xs:group ref="db:db._text"/>
|
---|
237 | <xs:attributeGroup ref="db:db.application.attlist"/>
|
---|
238 | </xs:complexType>
|
---|
239 | </xs:element>
|
---|
240 | <!-- ====================================================================== -->
|
---|
241 | <xs:attributeGroup name="db.hardware.role.attribute">
|
---|
242 | <xs:attribute name="role" use="required"/>
|
---|
243 | </xs:attributeGroup>
|
---|
244 | <xs:attributeGroup name="db.hardware.attlist">
|
---|
245 | <xs:attribute name="role"/>
|
---|
246 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
247 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
248 | </xs:attributeGroup>
|
---|
249 | <xs:element name="hardware" substitutionGroup="db:db.product.inlines">
|
---|
250 | <xs:complexType mixed="true">
|
---|
251 | <xs:group ref="db:db._text"/>
|
---|
252 | <xs:attributeGroup ref="db:db.hardware.attlist"/>
|
---|
253 | </xs:complexType>
|
---|
254 | </xs:element>
|
---|
255 | </xs:schema>
|
---|