IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Mapping Choice Groups?

    Posted 12/06/12 10:16 AM

    Originally posted by: SystemAdmin


    I have a Choice group that appears in the output card, an XML schema, as:

    choice (s)
    Object1
    Object2
    Object3

    I need to output multiple instances of each object type. It seems to me the only thing I can do is modify the schema to allow for multiple instances of each object and then index the choice group. Thus, my output card would then look like this:

    choice [1]
    Object1 (s)
    Object2 (s)
    Object3 (s)
    choice [2]
    Object1 (s)
    Object2 (s)
    Object3 (s)
    choice [3]
    Object1 (s)
    Object2 (s)
    Object3 (s)
    choice (s)

    I hesitate to do this as the schema I'm working with is an ACORD standard (specifically TXLife which references XMLife) but I see no other way. Am I missing something? Thanks.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: Mapping Choice Groups?

    Posted 12/06/12 12:03 PM

    Originally posted by: SystemAdmin


    Using Altova XMLspy, I created a schema subset. It resulted in a schema as I described above with each object defined as maxOccurs="Unbounded". So that is the way I will go.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender