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 presentation elements of MathML
13 dealing with subscripts and superscripts.
14 Author: St
éphane Dalmas, INRIA.
20 <xs:attributeGroup name=
"msub.attlist">
21 <xs:attribute name=
"subscriptshift" type=
"length-with-unit"/>
22 <xs:attributeGroup ref=
"Common.attrib"/>
25 <xs:complexType name=
"msub.type">
26 <xs:group ref=
"Presentation-expr.class" minOccurs=
"2" maxOccurs=
"2"/>
27 <xs:attributeGroup ref=
"msub.attlist"/>
30 <xs:element name=
"msub" type=
"msub.type"/>
34 <xs:attributeGroup name=
"msup.attlist">
35 <xs:attribute name=
"superscriptshift" type=
"length-with-unit"/>
36 <xs:attributeGroup ref=
"Common.attrib"/>
39 <xs:complexType name=
"msup.type">
40 <xs:group ref=
"Presentation-expr.class" minOccurs=
"2" maxOccurs=
"2"/>
41 <xs:attributeGroup ref=
"msup.attlist"/>
44 <xs:element name=
"msup" type=
"msup.type"/>
48 <xs:attributeGroup name=
"msubsup.attlist">
49 <xs:attribute name=
"subscriptshift" type=
"length-with-unit"/>
50 <xs:attribute name=
"superscriptshift" type=
"length-with-unit"/>
51 <xs:attributeGroup ref=
"Common.attrib"/>
54 <xs:complexType name=
"msubsup.type">
55 <xs:group ref=
"Presentation-expr.class" minOccurs=
"3" maxOccurs=
"3"/>
56 <xs:attributeGroup ref=
"msubsup.attlist"/>
59 <xs:element name=
"msubsup" type=
"msubsup.type"/>
63 <xs:attributeGroup name=
"munder.attlist">
64 <xs:attribute name=
"accentunder" type=
"xs:boolean"/>
65 <xs:attributeGroup ref=
"Common.attrib"/>
68 <xs:complexType name=
"munder.type">
69 <xs:group ref=
"Presentation-expr.class" minOccurs=
"2" maxOccurs=
"2"/>
70 <xs:attributeGroup ref=
"munder.attlist"/>
73 <xs:element name=
"munder" type=
"munder.type"/>
77 <xs:attributeGroup name=
"mover.attlist">
78 <xs:attribute name=
"accent" type=
"xs:boolean"/>
79 <xs:attributeGroup ref=
"Common.attrib"/>
82 <xs:complexType name=
"mover.type">
83 <xs:group ref=
"Presentation-expr.class" minOccurs=
"2" maxOccurs=
"2"/>
84 <xs:attributeGroup ref=
"mover.attlist"/>
87 <xs:element name=
"mover" type=
"mover.type"/>
91 <xs:attributeGroup name=
"munderover.attlist">
92 <xs:attribute name=
"accent" type=
"xs:boolean"/>
93 <xs:attribute name=
"accentunder" type=
"xs:boolean"/>
94 <xs:attributeGroup ref=
"Common.attrib"/>
97 <xs:complexType name=
"munderover.type">
98 <xs:group ref=
"Presentation-expr.class" minOccurs=
"3" maxOccurs=
"3"/>
99 <xs:attributeGroup ref=
"munderover.attlist"/>
102 <xs:element name=
"munderover" type=
"munderover.type"/>
104 <!-- "mmultiscripts", "mprescripts" and "none" -->
106 <xs:attributeGroup name=
"mmultiscripts.attlist">
107 <xs:attributeGroup ref=
"Common.attrib"/>
110 <xs:group name=
"Presentation-expr-or-none.class">
112 <xs:group ref=
"Presentation-expr.class"/>
113 <xs:element ref=
"none"/>
118 <xs:group name="mprescripts.group">
120 <xs:element ref="mprescripts"/>
121 <xs:choice minOccurs="0" maxOccurs="unbounded">
122 <xs:group ref="Presentation-expr.class"/>
123 <xs:element ref="none"/>
129 <xs:group name=
"mmultiscripts.content">
131 <xs:group ref=
"Presentation-expr.class"/>
132 <xs:sequence minOccurs=
"0" maxOccurs=
"unbounded">
133 <xs:group ref=
"Presentation-expr-or-none.class"/>
134 <xs:group ref=
"Presentation-expr-or-none.class"/>
136 <xs:sequence minOccurs=
"0">
137 <xs:element ref=
"mprescripts"/>
138 <xs:sequence maxOccurs=
"unbounded">
139 <xs:group ref=
"Presentation-expr-or-none.class"/>
140 <xs:group ref=
"Presentation-expr-or-none.class"/>
146 <xs:complexType name=
"mmultiscripts.type">
147 <xs:group ref=
"mmultiscripts.content"/>
148 <xs:attributeGroup ref=
"mmultiscripts.attlist"/>
151 <xs:element name=
"mmultiscripts" type=
"mmultiscripts.type"/>
154 <xs:complexType name=
"none.type">
157 <xs:element name=
"none" type=
"none.type"/>
160 <xs:complexType name=
"mprescripts.type">
163 <xs:element name=
"mprescripts" type=
"mprescripts.type"/>
165 <!-- And the group of everything -->
167 <xs:group name=
"Presentation-script.class">
169 <xs:element ref=
"msub"/>
170 <xs:element ref=
"msup"/>
171 <xs:element ref=
"msubsup"/>
172 <xs:element ref=
"munder"/>
173 <xs:element ref=
"mover"/>
174 <xs:element ref=
"munderover"/>
175 <xs:element ref=
"mmultiscripts"/>
182 Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
183 of Technology, Institut National de Recherche en Informatique et en
184 Automatique, Keio University). All Rights Reserved. See
185 http://www.w3.org/Consortium/Legal/.