Substitution

Normale Zuordnung vor Erweiterung

Quelle:
"po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items"
Ziel:
"po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items"
Anweisung vor Zuordnung:
<ElementMsgStatement po:purchaseOrder>
Anweisung nach Zuordnung:
"<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>"

Normale Zuordnung nach Erweiterung

Quelle:
"po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items"
Ziel:
"po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items"
Anweisung vor Zuordnung:
"<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>"
Anweisung nach Zuordnung:
"<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>"

Zuordnung von abgeleitetem Typelement zu erweitertem Element

Quelle:
"po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items"
Ziel:
"po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items"
Anweisung vor Zuordnung:
"<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>"
Anweisung nach Zuordnung:
<ElementMsgStatement po:purchaseOrder>
  <Qualify>
    <Condition fn:extends-type($source/po:purchaseOrder/ShipTo, UsAddressType)>
      <ElementMsgStatement ShipTo>
        <MapFromStatement $source/po:purchaseOrder/element(ShipTo, UsAddressType)>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>

Zuordnung von Basistypelement zu Struktur vor Erweiterung, anschließend Auffüllen mit zugeordnetem abgeleiteten Typelement

Quelle:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
Ziel:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
Anweisung vor Zuordnung:
<ElementMsgStatement po:purchaseOrder>
Anweisung nach Zuordnung:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement element(ShipTo, CanadaAddressType)>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>

Zuordnung zu erweiterter Struktur, wobei Zuordnungsziel nicht erweiterter Elementtyp ist, anschließend Ersetzen des nicht erweiterten Elementtyps durch zugeordneten Elementtyp

Quelle:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
Ziel:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
Anweisung vor Zuordnung:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement ShipTo>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
Anweisung nach Zuordnung:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement element(ShipTo, CanadaAddressType)>
    <MapFromStatement $source/po:purchaseOrder/ShipTo>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>

Zuordnung von abgeleiteter Typzuordnung zu erweitertem Typ

Quelle:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
Ziel:
po:purchaseOrder
  specialization for AddressType (ShipTo) 
    ShipTo (AddressType)
    ShipTo (UsAddressType)
    ShipTo (CanadaAddressType)
  po:comment
  Items
Anweisung vor Zuordnung:
<ElementMsgStatement po:purchaseOrder>
  <ElementMsgStatement element(ShipTo, UsAddressType)>
    <MapFromStatement>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
Anweisung nach Zuordnung:
<ElementMsgStatement po:purchaseOrder>
  <Qualify>
    <Condition fn:extends-type($source/po:purchaseOrder/ShipTo, UsAddressType)>
      <ElementMsgStatement element(ShipTo, UsAddressType)>
        <MapFromStatement $source/po:purchaseOrder/element(ShipTo, UsAddressType)>
  <ElementMsgStatement po:comment>
    <MapFromStatement>
  <ElementMsgStatement Items>
    <MapFromStatement>
Zugehörige Tasks
Nachrichtenzuordnungen entwickeln
Bemerkungen | Marken | Downloads | Bibliothek | Unterstützung | Rückmeldung
Copyright IBM Corporation 1999, 2005 Letzte Aktualisierung: Nov 17, 2005
ar25233_1_