<xsd:simpleType name="alignType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="top"/> <xsd:enumeration value="bottom"/> </xsd:restriction> </xsd:simpleType>