목록: | <xsd:simpleType name=""myInteger""> <xsd:restriction base=""xsd:integer""> <xsd:minInclusive value=""10000""/> <xsd:maxInclusive value=""99999""/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name=""listOfMyIntType""> <xsd:list itemType=""myInteger""/> </xsd:simpleType> |
목록: | <xsd:simpleType name=""USState""> <xsd:restriction base=""xsd:string""> <xsd:enumeration value=""AK""/> <xsd:enumeration value=""AL""/> <xsd:enumeration value=""AR""/> <!-- and so on ... --> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name=""USStateList""> <xsd:list itemType=""USState""/> </xsd:simpleType> <xsd:simpleType name=""SixUSStates""> <xsd:restriction base=""USStateList""> <xsd:length value=""6""/> </xsd:restriction> </xsd:simpleType> |
결합: | <xsd:simpleType name=""zipUnion""> <xsd:union memberTypes=""USState listOfMyIntType""/> </xsd:simpleType> |
목록: | <element name="listOfMyInt" type="listOfMyIntType"/> |
목록: | <element name="sixStates" type="SixUSStates"/> |
결합: | <element name="zips" type="zipUnion"/> |
목록: | <listOfMyInt>20003 15037 95977 95945</listOfMyInt> |
목록: | <sixStates>PA NY CA NY LA AK</sixStates> |
결합: | <zips>CA</zips> <zips>95630 95977 95945</zips> <zips>AK</zips> |
목록: | + myInteger (restriction of xsd:integer ) + listOfMyIntType + listOfMyInt |
목록: | USStates USStateList SixUSStates sixStates" |
결합: | zipUnion zips |