<xs:simpleType name="vamcStation"> <xs:restriction base="xs:string"> <xs:pattern value="[A-Za-z0-9]{1,8}"/> </xs:restriction> </xs:simpleType>