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: ebnf.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 | <!-- ====================================================================== -->
|
---|
37 | <xs:attributeGroup name="db.productionset.role.attribute">
|
---|
38 | <xs:attribute name="role" use="required"/>
|
---|
39 | </xs:attributeGroup>
|
---|
40 | <xs:attributeGroup name="db.productionset.attlist">
|
---|
41 | <xs:attribute name="role"/>
|
---|
42 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
43 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
44 | </xs:attributeGroup>
|
---|
45 | <xs:group name="db.productionset.info">
|
---|
46 | <xs:sequence>
|
---|
47 | <xs:group ref="db:db._info.title.only"/>
|
---|
48 | </xs:sequence>
|
---|
49 | </xs:group>
|
---|
50 | <xs:element name="productionset">
|
---|
51 | <xs:complexType>
|
---|
52 | <xs:sequence>
|
---|
53 | <xs:group ref="db:db.productionset.info"/>
|
---|
54 | <xs:choice maxOccurs="unbounded">
|
---|
55 | <xs:element ref="db:production"/>
|
---|
56 | <xs:element ref="db:productionrecap"/>
|
---|
57 | </xs:choice>
|
---|
58 | </xs:sequence>
|
---|
59 | <xs:attributeGroup ref="db:db.productionset.attlist"/>
|
---|
60 | </xs:complexType>
|
---|
61 | </xs:element>
|
---|
62 | <!-- ====================================================================== -->
|
---|
63 | <xs:attributeGroup name="db.production.role.attribute">
|
---|
64 | <xs:attribute name="role" use="required"/>
|
---|
65 | </xs:attributeGroup>
|
---|
66 | <xs:attributeGroup name="db.production.attlist">
|
---|
67 | <xs:attribute name="role"/>
|
---|
68 | <xs:attributeGroup ref="db:db.common.idreq.attributes"/>
|
---|
69 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
70 | </xs:attributeGroup>
|
---|
71 | <xs:element name="production">
|
---|
72 | <xs:complexType>
|
---|
73 | <xs:sequence>
|
---|
74 | <xs:element ref="db:lhs"/>
|
---|
75 | <xs:element ref="db:rhs"/>
|
---|
76 | <xs:element minOccurs="0" maxOccurs="unbounded" ref="db:constraint"/>
|
---|
77 | </xs:sequence>
|
---|
78 | <xs:attributeGroup ref="db:db.production.attlist"/>
|
---|
79 | </xs:complexType>
|
---|
80 | </xs:element>
|
---|
81 | <!-- ====================================================================== -->
|
---|
82 | <xs:attributeGroup name="db.lhs.role.attribute">
|
---|
83 | <xs:attribute name="role" use="required"/>
|
---|
84 | </xs:attributeGroup>
|
---|
85 | <xs:attributeGroup name="db.lhs.attlist">
|
---|
86 | <xs:attribute name="role"/>
|
---|
87 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
88 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
89 | </xs:attributeGroup>
|
---|
90 | <xs:element name="lhs">
|
---|
91 | <xs:complexType mixed="true">
|
---|
92 | <xs:attributeGroup ref="db:db.lhs.attlist"/>
|
---|
93 | </xs:complexType>
|
---|
94 | </xs:element>
|
---|
95 | <!-- ====================================================================== -->
|
---|
96 | <xs:attributeGroup name="db.rhs.role.attribute">
|
---|
97 | <xs:attribute name="role" use="required"/>
|
---|
98 | </xs:attributeGroup>
|
---|
99 | <xs:attributeGroup name="db.rhs.attlist">
|
---|
100 | <xs:attribute name="role"/>
|
---|
101 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
102 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
103 | </xs:attributeGroup>
|
---|
104 | <xs:element name="rhs">
|
---|
105 | <xs:complexType mixed="true">
|
---|
106 | <xs:choice minOccurs="0" maxOccurs="unbounded">
|
---|
107 | <xs:element ref="db:nonterminal"/>
|
---|
108 | <xs:element ref="db:lineannotation"/>
|
---|
109 | <xs:element ref="db:sbr"/>
|
---|
110 | </xs:choice>
|
---|
111 | <xs:attributeGroup ref="db:db.rhs.attlist"/>
|
---|
112 | </xs:complexType>
|
---|
113 | </xs:element>
|
---|
114 | <!-- ====================================================================== -->
|
---|
115 | <xs:attributeGroup name="db.nonterminal.role.attribute">
|
---|
116 | <xs:attribute name="role" use="required"/>
|
---|
117 | </xs:attributeGroup>
|
---|
118 | <xs:attributeGroup name="db.nonterminal.def.attribute">
|
---|
119 | <xs:attribute name="def" use="required" type="xs:anyURI"/>
|
---|
120 | </xs:attributeGroup>
|
---|
121 | <xs:attributeGroup name="db.nonterminal.attlist">
|
---|
122 | <xs:attribute name="role"/>
|
---|
123 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
124 | <xs:attributeGroup ref="db:db.common.linking.attributes"/>
|
---|
125 | <xs:attributeGroup ref="db:db.nonterminal.def.attribute"/>
|
---|
126 | </xs:attributeGroup>
|
---|
127 | <xs:element name="nonterminal" substitutionGroup="db:db.technical.inlines">
|
---|
128 | <xs:complexType mixed="true">
|
---|
129 | <xs:attributeGroup ref="db:db.nonterminal.attlist"/>
|
---|
130 | </xs:complexType>
|
---|
131 | </xs:element>
|
---|
132 | <!-- ====================================================================== -->
|
---|
133 | <xs:attributeGroup name="db.constraint.role.attribute">
|
---|
134 | <xs:attribute name="role" use="required"/>
|
---|
135 | </xs:attributeGroup>
|
---|
136 | <xs:attributeGroup name="db.constraint.attlist">
|
---|
137 | <xs:attribute name="role"/>
|
---|
138 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
139 | <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
|
---|
140 | </xs:attributeGroup>
|
---|
141 | <xs:element name="constraint">
|
---|
142 | <xs:complexType>
|
---|
143 | <xs:attributeGroup ref="db:db.constraint.attlist"/>
|
---|
144 | </xs:complexType>
|
---|
145 | </xs:element>
|
---|
146 | <!-- ====================================================================== -->
|
---|
147 | <xs:attributeGroup name="db.productionrecap.role.attribute">
|
---|
148 | <xs:attribute name="role" use="required"/>
|
---|
149 | </xs:attributeGroup>
|
---|
150 | <xs:attributeGroup name="db.productionrecap.attlist">
|
---|
151 | <xs:attribute name="role"/>
|
---|
152 | <xs:attributeGroup ref="dbs:db.common.attributes"/>
|
---|
153 | <xs:attributeGroup ref="db:db.common.req.linking.attributes"/>
|
---|
154 | </xs:attributeGroup>
|
---|
155 | <xs:element name="productionrecap">
|
---|
156 | <xs:complexType>
|
---|
157 | <xs:attributeGroup ref="db:db.productionrecap.attlist"/>
|
---|
158 | </xs:complexType>
|
---|
159 | </xs:element>
|
---|
160 | <!-- ====================================================================== -->
|
---|
161 | <xs:attributeGroup name="db.constraintdef.role.attribute">
|
---|
162 | <xs:attribute name="role" use="required"/>
|
---|
163 | </xs:attributeGroup>
|
---|
164 | <xs:attributeGroup name="db.constraintdef.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>
|
---|
169 | <xs:group name="db.constraintdef.info">
|
---|
170 | <xs:sequence>
|
---|
171 | <xs:group ref="db:db._info.title.only"/>
|
---|
172 | </xs:sequence>
|
---|
173 | </xs:group>
|
---|
174 | <xs:element name="constraintdef">
|
---|
175 | <xs:complexType>
|
---|
176 | <xs:sequence>
|
---|
177 | <xs:group ref="db:db.constraintdef.info"/>
|
---|
178 | <xs:group maxOccurs="unbounded" ref="db:db.all.blocks"/>
|
---|
179 | </xs:sequence>
|
---|
180 | <xs:attributeGroup ref="db:db.constraintdef.attlist"/>
|
---|
181 | </xs:complexType>
|
---|
182 | </xs:element>
|
---|
183 | </xs:schema>
|
---|