1 <grammar datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
2 ns="http://relaxng.org/ns/structure/1.0"
3 xmlns="http://relaxng.org/ns/structure/1.0">
9 <define name="pattern">
11 <element name="element">
13 <attribute name="name">
16 <ref name="open-name-class"/>
18 <ref name="common-atts"/>
19 <ref name="open-patterns"/>
21 <element name="attribute">
22 <ref name="common-atts"/>
24 <attribute name="name">
27 <ref name="open-name-class"/>
36 <element name="group">
37 <ref name="common-atts"/>
38 <ref name="open-patterns"/>
40 <element name="interleave">
41 <ref name="common-atts"/>
42 <ref name="open-patterns"/>
44 <element name="choice">
45 <ref name="common-atts"/>
46 <ref name="open-patterns"/>
48 <element name="optional">
49 <ref name="common-atts"/>
50 <ref name="open-patterns"/>
52 <element name="zeroOrMore">
53 <ref name="common-atts"/>
54 <ref name="open-patterns"/>
56 <element name="oneOrMore">
57 <ref name="common-atts"/>
58 <ref name="open-patterns"/>
61 <ref name="common-atts"/>
62 <ref name="open-patterns"/>
64 <element name="mixed">
65 <ref name="common-atts"/>
66 <ref name="open-patterns"/>
69 <attribute name="name">
72 <ref name="common-atts"/>
75 <element name="parentRef">
76 <attribute name="name">
79 <ref name="common-atts"/>
82 <element name="empty">
83 <ref name="common-atts"/>
87 <ref name="common-atts"/>
90 <element name="value">
92 <attribute name="type">
96 <ref name="common-atts"/>
100 <attribute name="type">
101 <data type="NCName"/>
103 <ref name="common-atts"/>
108 <element name="param">
109 <attribute name="name">
110 <data type="NCName"/>
112 <ref name="common-atts"/>
117 <element name="except">
118 <ref name="common-atts"/>
119 <ref name="open-patterns"/>
125 <element name="notAllowed">
126 <ref name="common-atts"/>
129 <element name="externalRef">
130 <attribute name="href">
131 <data type="anyURI"/>
133 <ref name="common-atts"/>
136 <element name="grammar">
137 <ref name="common-atts"/>
138 <ref name="grammar-content"/>
143 <define name="grammar-content">
148 <ref name="start-element"/>
149 <ref name="define-element"/>
151 <ref name="common-atts"/>
152 <ref name="grammar-content"/>
154 <element name="include">
155 <attribute name="href">
156 <data type="anyURI"/>
158 <ref name="common-atts"/>
159 <ref name="include-content"/>
166 <define name="include-content">
171 <ref name="start-element"/>
172 <ref name="define-element"/>
174 <ref name="common-atts"/>
175 <ref name="include-content"/>
182 <define name="start-element">
183 <element name="start">
184 <ref name="combine-att"/>
185 <ref name="common-atts"/>
186 <ref name="open-pattern"/>
190 <define name="define-element">
191 <element name="define">
192 <attribute name="name">
193 <data type="NCName"/>
195 <ref name="combine-att"/>
196 <ref name="common-atts"/>
197 <ref name="open-patterns"/>
201 <define name="combine-att">
203 <attribute name="combine">
205 <value>choice</value>
206 <value>interleave</value>
212 <define name="open-patterns">
216 <ref name="pattern"/>
221 <define name="open-pattern">
224 <ref name="pattern"/>
228 <define name="name-class">
230 <element name="name">
231 <ref name="common-atts"/>
234 <element name="anyName">
235 <ref name="common-atts"/>
236 <ref name="except-name-class"/>
238 <element name="nsName">
239 <ref name="common-atts"/>
240 <ref name="except-name-class"/>
242 <element name="choice">
243 <ref name="common-atts"/>
244 <ref name="open-name-classes"/>
249 <define name="except-name-class">
253 <element name="except">
254 <ref name="open-name-classes"/>
260 <define name="open-name-classes">
264 <ref name="name-class"/>
269 <define name="open-name-class">
272 <ref name="name-class"/>
276 <define name="common-atts">
278 <attribute name="ns"/>
281 <attribute name="datatypeLibrary">
282 <data type="anyURI"/>
297 <define name="other">