목록 및 결합

유형의 xsd

목록:
<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
관련 작업
메시지 맵핑 개발
주의사항 | 등록상표 | 다운로드 | 라이브러리 | 지원 | 피드백
Copyright IBM Corporation 1999, 2005 마지막 갱신 날짜: 11/08/2005
ar25240_4_