대체 요소

메뉴 대체 요소
단일 선택 사용 요소에 대한 명령문을 선택할 때 이 조치를 사용할 수 있으며, 요소는 최소한 다음 중 하나를 충족합니다.
  • 대체 그룹에 속하는 요소
  • 유형이 다른 요소의 기본 유형이거나 다른 요소의 유형에서 도출됨
단일 선택 작동 대화 상자는 모든 비추상 대체 가능한 요소와 도출된 유형을 제공합니다. ElementMsgStatement는 선택된 명령문의 위치에 작성됩니다. 명령문에는 대화 상자에서 지정한 항목으로 설정된 맵핑 가능한 headElement, xsiType이 있습니다. 명령문에는 선택된 명령문의 모든 컨텐츠(MapFromStatement 및 포함된 맵 구조 포함)가 들어 있습니다.
다중 선택 사용 사용 안함
예:  
스키마 구조 대상 분할창 트리 구조
Element Address는 AddressType이고 추상 유형입니다. USAddressType은 AddressType에서 도출되었습니다. NYAddressType은 USAddressType에서 도출되었습니다. AddressType의 BuyerAddress는 Address의 대체 그룹에 속합니다. NYAddressType의 SellerAddress는 Address의 대체 그룹에 속합니다.
PurchaseOrder
    Substitutions for Address
       Specializations for AddressType
           BuyerAddress (AddressType)
           BuyerAddress (USAddressType)
           BuyerAddress (NYAddressType)
       SellerAddress (NYAddressType)
요소(BuyerAddress, USAddressType) 대체 이전 명령문 sellerAddress 및 NYAddressType 선택 후의 명령문
ElementMsgStatement PurchaseOrder
  Qualify
   Condition
      ElementMsgStatement element(BuyerAddress, AddressType)
   Condition
      ElementMsgStatement element(BuyerAddress, USAddressType)
        ElementMsgStatement element(Name, xs:string)
          MapFromStatement ""John Smith""
        ElementMsgStatement element(Street, xs:string)
          MapFromStatement ""123 Main Street, Manhatten, NY""
   Condition
      ElementMsgStatement element(BuyerAddress, NYAddressType)
   Condition
      ElementMsgStatement element(SellerAddress, NYAddressType)
ElementMsgStatement PurchaseOrder
  Qualify
   Condition
      ElementMsgStatement element(BuyerAddress, AddressType)
   Condition
      ElementMsgStatement element(SellerAddress, NYAddressType)
        ElementMsgStatement element(Name, xs:string)
          MapFromStatement ""John Smith""
        ElementMsgStatement element(Street, xs:string)
          MapFromStatement ""123 Main Street, Manhatten, NY""
   Condition
      ElementMsgStatement element(BuyerAddress, NYAddressType)
   Condition
      ElementMsgStatement element(SellerAddress, NYAddressType)
대화 상자 사용자 인터페이스 위의 예에 대한 대화 상자 컨텐츠
  1. 선택된 요소 이름과 유형이 표시됩니다.
  2. 해당되는 대체 요소 이름이 모두 표시됩니다.
  3. 선택된 요소 이름에 해당되는 모든 유형이 표시됩니다.
  1. BuyerAddress, USAddressType
  2. {BuyerAddress, SellerAddress}
  3. BuyerAddress의 경우 {AddressType, USAddressType, NYAddressType} 및 SellerAddress의 경우 {NYAddressType}
관련 작업
메시지 맵핑 개발
주의사항 | 등록상표 | 다운로드 | 라이브러리 | 지원 | 피드백
Copyright IBM Corporation 1999, 2005 마지막 갱신 날짜: 11/08/2005
ar25236_1_