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