<simpleType name="AlphanumericType"> <restriction base="string"> <pattern value="([A-Z]|\d)*" /> </restriction> </simpleType>