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 containing some type definitions for MathML.
13 Author: St
éphane Dalmas, INRIA.
19 <xs:simpleType name=
"simple-size">
20 <xs:restriction base=
"xs:string">
21 <xs:enumeration value=
"small"/>
22 <xs:enumeration value=
"normal"/>
23 <xs:enumeration value=
"big"/>
27 <!-- Centering values -->
29 <xs:simpleType name=
"centering">
30 <xs:restriction base=
"xs:string">
31 <xs:enumeration value=
"left"/>
32 <xs:enumeration value=
"center"/>
33 <xs:enumeration value=
"right"/>
37 <!-- The named spaces -->
39 <!-- this is also used in the value of the "width" attribute on the
41 <xs:simpleType name=
"named-space">
42 <xs:restriction base=
"xs:string">
43 <xs:enumeration value=
"veryverythinmathspace"/>
44 <xs:enumeration value=
"verythinmathspace"/>
45 <xs:enumeration value=
"thinmathspace"/>
46 <xs:enumeration value=
"mediummathspace"/>
47 <xs:enumeration value=
"thickmathspace"/>
48 <xs:enumeration value=
"verythickmathspace"/>
49 <xs:enumeration value=
"veryverythickmathspace"/>
55 <xs:simpleType name=
"thickness">
56 <xs:restriction base=
"xs:string">
57 <xs:enumeration value=
"thin"/>
58 <xs:enumeration value=
"medium"/>
59 <xs:enumeration value=
"thick"/>
64 <!-- number with units used to specified lengths -->
66 <xs:simpleType name=
"length-with-unit">
67 <xs:restriction base=
"xs:string">
69 value=
"(-?([0-9]+|[0-9]*\.[0-9]+)*(em|ex|px|in|cm|mm|pt|pc|%))|0"/>
73 <xs:simpleType name=
"length-with-optional-unit">
74 <xs:restriction base=
"xs:string">
76 value=
"-?([0-9]+|[0-9]*\.[0-9]+)*(em|ex|px|in|cm|mm|pt|pc|%)?"/>
80 <!-- This is just "infinity" that can be used as a length -->
82 <xs:simpleType name=
"infinity">
83 <xs:restriction base=
"xs:string">
84 <xs:enumeration value=
"infinity"/>
88 <!-- colors defined as RGB -->
90 <xs:simpleType name=
"RGB-color">
91 <xs:restriction base=
"xs:string">
92 <xs:pattern value=
"#(([0-9]|[a-f]){3}|([0-9]|[a-f]){6})"/>
99 Copyright û 2002 World Wide Web Consortium, (Massachusetts Institute
100 of Technology, Institut National de Recherche en Informatique et en
101 Automatique, Keio University). All Rights Reserved. See
102 http://www.w3.org/Consortium/Legal/.