<xs:simpleType name="UnitID"> <xs:restriction base="xs:string"> <xs:pattern value="u[0-9]+\.[0-9]+"/> </xs:restriction> </xs:simpleType>