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 the XML schema module for the token elements of the
13
content part of MathML.
14
Author: Stéphane Dalmas, INRIA.
18
<!-- common content for the token elements -->
20
<xs:group name="Content-token.content">
22
<xs:group ref="Presentation-expr.class"/>
28
<xs:attributeGroup name="cn.attlist">
29
<xs:attribute name="base">
31
<xs:restriction base="xs:positiveInteger">
32
<xs:minInclusive value="2"/>
33
<xs:maxInclusive value="36"/>
37
<xs:attribute name="type">
39
<xs:restriction base="xs:NMTOKEN">
40
<xs:enumeration value="e-notation"/>
41
<xs:enumeration value="integer"/>
42
<xs:enumeration value="rational"/>
43
<xs:enumeration value="real"/>
44
<xs:enumeration value="complex-cartesian"/>
45
<xs:enumeration value="complex-polar"/>
46
<xs:enumeration value="constant"/>
50
<xs:attributeGroup ref="Definition.attrib"/>
51
<xs:attributeGroup ref="Common.attrib"/>
54
<!-- the content of "cn" may have <sep> elements in it -->
56
<xs:complexType name="sep.type">
59
<xs:element name="sep" type="sep.type"/>
61
<xs:group name="cn.content">
63
<xs:group ref="Presentation-expr.class"/>
64
<xs:element ref="sep"/>
68
<xs:complexType name="cn.type" mixed="true">
69
<xs:group ref="cn.content" minOccurs="0" maxOccurs="unbounded"/>
70
<xs:attributeGroup ref="cn.attlist"/>
73
<xs:element name="cn" type="cn.type"/>
77
<xs:attributeGroup name="ci.attlist">
78
<xs:attribute name="type" type="xs:string"/>
79
<xs:attributeGroup ref="Definition.attrib"/>
80
<xs:attributeGroup ref="Common.attrib"/>
83
<xs:complexType name="ci.type" mixed="true">
84
<xs:group ref="Content-token.content" minOccurs="0"/>
85
<xs:attributeGroup ref="ci.attlist"/>
88
<xs:element name="ci" type="ci.type"/>
92
<xs:attributeGroup name="csymbol.attlist">
93
<xs:attributeGroup ref="Definition.attrib"/>
94
<xs:attributeGroup ref="Common.attrib"/>
97
<xs:complexType name="csymbol.type" mixed="true">
98
<xs:group ref="Content-token.content" minOccurs="0"/>
99
<xs:attributeGroup ref="csymbol.attlist"/>
102
<xs:element name="csymbol" type="csymbol.type"/>
104
<!-- And the group of everything -->
106
<xs:group name="Content-tokens.class">
108
<xs:element ref="cn"/>
109
<xs:element ref="ci"/>
110
<xs:element ref="csymbol"/>
116
Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
117
of Technology, Institut National de Recherche en Informatique et en
118
Automatique, Keio University). All Rights Reserved. See
119
http://www.w3.org/Consortium/Legal/.