Can one concatenate two given XSD data types into a new XSD data type?
问题 Given two simple data types, say, restricted strings type1 , type2 , is there a possibility to define type3 describing all strings formed by concatenating one type1 string plus one type2 string? For example, consider <xsd:simpleType name="type1"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[A-Z]"></xsd:pattern> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="type2"> <xsd:restriction base="xsd:string"> <xsd:pattern value="[0-9]"></xsd:pattern> </xsd:restriction> </xsd