1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 xmlns:
xs=
"http://www.w3.org/2001/XMLSchema"
5 xmlns=
"http://www.w3.org/1998/Math/MathML"
6 targetNamespace=
"http://www.w3.org/1998/Math/MathML"
7 elementFormDefault=
"qualified"
12 This is an XML Schema module for the part of content MathML dealing with
14 Author: St
éphane Dalmas, INRIA.
20 <!-- "type" could be "multiset" or "normal" or anything else -->
21 <xs:attributeGroup name=
"set.attlist">
22 <xs:attribute name=
"type" type=
"xs:string"/>
23 <xs:attributeGroup ref=
"Common.attrib"/>
26 <xs:group name=
"set.content">
28 <xs:group ref=
"Content-expr.class"/>
32 <xs:complexType name=
"set.type">
33 <xs:group ref=
"set.content" minOccurs=
"0" maxOccurs=
"unbounded"/>
34 <xs:attributeGroup ref=
"set.attlist"/>
37 <xs:element name=
"set" type=
"set.type"/>
41 <xs:attributeGroup name=
"list.attlist">
42 <xs:attribute name=
"order">
44 <xs:restriction base=
"xs:string">
45 <xs:enumeration value=
"lexicographic"/>
46 <xs:enumeration value=
"numeric"/>
50 <xs:attributeGroup ref=
"Common.attrib"/>
53 <xs:group name=
"list.content">
55 <xs:group ref=
"Content-expr.class"/>
59 <xs:complexType name=
"list.type">
60 <xs:group ref=
"list.content" minOccurs=
"0" maxOccurs=
"unbounded"/>
61 <xs:attributeGroup ref=
"list.attlist"/>
64 <xs:element name=
"list" type=
"list.type"/>
68 <xs:attributeGroup name=
"union.attlist">
69 <xs:attributeGroup ref=
"Definition.attrib"/>
70 <xs:attributeGroup ref=
"Common.attrib"/>
73 <xs:complexType name=
"union.type">
74 <xs:attributeGroup ref=
"union.attlist"/>
77 <xs:element name=
"union" type=
"union.type"/>
81 <xs:attributeGroup name=
"intersect.attlist">
82 <xs:attributeGroup ref=
"Definition.attrib"/>
83 <xs:attributeGroup ref=
"Common.attrib"/>
86 <xs:complexType name=
"intersect.type">
87 <xs:attributeGroup ref=
"intersect.attlist"/>
90 <xs:element name=
"intersect" type=
"intersect.type"/>
94 <xs:attributeGroup name=
"in.attlist">
95 <xs:attributeGroup ref=
"Definition.attrib"/>
96 <xs:attributeGroup ref=
"Common.attrib"/>
99 <xs:complexType name=
"in.type">
100 <xs:attributeGroup ref=
"in.attlist"/>
103 <xs:element name=
"in" type=
"in.type"/>
107 <xs:attributeGroup name=
"notin.attlist">
108 <xs:attributeGroup ref=
"Definition.attrib"/>
109 <xs:attributeGroup ref=
"Common.attrib"/>
112 <xs:complexType name=
"notin.type">
113 <xs:attributeGroup ref=
"notin.attlist"/>
116 <xs:element name=
"notin" type=
"notin.type"/>
120 <xs:attributeGroup name=
"subset.attlist">
121 <xs:attributeGroup ref=
"Definition.attrib"/>
122 <xs:attributeGroup ref=
"Common.attrib"/>
125 <xs:complexType name=
"subset.type">
126 <xs:attributeGroup ref=
"subset.attlist"/>
129 <xs:element name=
"subset" type=
"subset.type"/>
133 <xs:attributeGroup name=
"prsubset.attlist">
134 <xs:attributeGroup ref=
"Definition.attrib"/>
135 <xs:attributeGroup ref=
"Common.attrib"/>
138 <xs:complexType name=
"prsubset.type">
139 <xs:attributeGroup ref=
"prsubset.attlist"/>
142 <xs:element name=
"prsubset" type=
"prsubset.type"/>
146 <xs:attributeGroup name=
"notsubset.attlist">
147 <xs:attributeGroup ref=
"Definition.attrib"/>
148 <xs:attributeGroup ref=
"Common.attrib"/>
151 <xs:complexType name=
"notsubset.type">
152 <xs:attributeGroup ref=
"notsubset.attlist"/>
155 <xs:element name=
"notsubset" type=
"notsubset.type"/>
157 <!-- "notprsubset" -->
159 <xs:attributeGroup name=
"notprsubset.attlist">
160 <xs:attributeGroup ref=
"Definition.attrib"/>
161 <xs:attributeGroup ref=
"Common.attrib"/>
164 <xs:complexType name=
"notprsubset.type">
165 <xs:attributeGroup ref=
"notprsubset.attlist"/>
168 <xs:element name=
"notprsubset" type=
"notprsubset.type"/>
172 <xs:attributeGroup name=
"setdiff.attlist">
173 <xs:attributeGroup ref=
"Definition.attrib"/>
174 <xs:attributeGroup ref=
"Common.attrib"/>
177 <xs:complexType name=
"setdiff.type">
178 <xs:attributeGroup ref=
"setdiff.attlist"/>
181 <xs:element name=
"setdiff" type=
"setdiff.type"/>
185 <xs:attributeGroup name=
"card.attlist">
186 <xs:attributeGroup ref=
"Definition.attrib"/>
187 <xs:attributeGroup ref=
"Common.attrib"/>
190 <xs:complexType name=
"card.type">
191 <xs:attributeGroup ref=
"card.attlist"/>
194 <xs:element name=
"card" type=
"card.type"/>
196 <!-- "cartesianproduct" -->
198 <xs:attributeGroup name=
"cartesianproduct.attlist">
199 <xs:attributeGroup ref=
"Definition.attrib"/>
200 <xs:attributeGroup ref=
"Common.attrib"/>
203 <xs:complexType name=
"cartesianproduct.type">
204 <xs:attributeGroup ref=
"cartesianproduct.attlist"/>
207 <xs:element name=
"cartesianproduct" type=
"cartesianproduct.type"/>
209 <!-- And the group of everything -->
211 <xs:group name=
"Content-sets.class">
213 <xs:element ref=
"set"/>
214 <xs:element ref=
"list"/>
215 <xs:element ref=
"union"/>
216 <xs:element ref=
"intersect"/>
217 <xs:element ref=
"in"/>
218 <xs:element ref=
"notin"/>
219 <xs:element ref=
"subset"/>
220 <xs:element ref=
"prsubset"/>
221 <xs:element ref=
"notsubset"/>
222 <xs:element ref=
"notprsubset"/>
223 <xs:element ref=
"setdiff"/>
224 <xs:element ref=
"card"/>
225 <xs:element ref=
"cartesianproduct"/>
232 Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
233 of Technology, Institut National de Recherche en Informatique et en
234 Automatique, Keio University). All Rights Reserved. See
235 http://www.w3.org/Consortium/Legal/.