decimal list type
File: Data.xml <?xml version="1.0"?> <numbers>12 34.5 18.2 5</numbers> File: Schema.xsd <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="numbers" type="number-list" /> <xs:simpleType name="number-list"> <xs:list itemType="xs:decimal" /> </xs:simpleType> </xs:schema>