<xs:simpleType name="centering"> <xs:restriction base="xs:string"> <xs:enumeration value="left"/> <xs:enumeration value="center"/> <xs:enumeration value="right"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="length-with-unit"> <xs:restriction base="xs:string"> <xs:pattern value="(-?([0-9]+|[0-9]*\.[0-9]+)*(em|ex|px|in|cm|mm|pt|pc|%))|0"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="simple-size"> <xs:restriction base="xs:string"> <xs:enumeration value="small"/> <xs:enumeration value="normal"/> <xs:enumeration value="big"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="named-space"> <xs:restriction base="xs:string"> <xs:enumeration value="veryverythinmathspace"/> <xs:enumeration value="verythinmathspace"/> <xs:enumeration value="thinmathspace"/> <xs:enumeration value="mediummathspace"/> <xs:enumeration value="thickmathspace"/> <xs:enumeration value="verythickmathspace"/> <xs:enumeration value="veryverythickmathspace"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="thickness"> <xs:restriction base="xs:string"> <xs:enumeration value="thin"/> <xs:enumeration value="medium"/> <xs:enumeration value="thick"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="length-with-optional-unit"> <xs:restriction base="xs:string"> <xs:pattern value="-?([0-9]+|[0-9]*\.[0-9]+)*(em|ex|px|in|cm|mm|pt|pc|%)?"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="infinity"> <xs:restriction base="xs:string"> <xs:enumeration value="infinity"/> </xs:restriction> </xs:simpleType>
<xs:simpleType name="RGB-color"> <xs:restriction base="xs:string"> <xs:pattern value="#(([0-9]|[a-f]){3}|([0-9]|[a-f]){6})"/> </xs:restriction> </xs:simpleType>