<xs:simpleType name="omDecFloat"> <xs:restriction base="xs:string"> <xs:pattern value="(-?)([0-9]+)?(\.[0-9]+)?(e([+-]?)[0-9]+)?"/> </xs:restriction> </xs:simpleType>