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.  How to process xml element with attribute and value?

    Posted 10/19/12 04:04 PM

    Originally posted by: sam.plyler


    My input file is an XML file. I am trying to map the currency attribute and the amount to my output card. I have hardcoded the values and they are working, so I am pretty sure it is not a problem with my output type tree. This is my first instance of using an element with an attribute and value, so I was unsure if there is some way that these must be processed differently. The parser is seeing the values "CAD" and "1315" as the proper types, but for some reason my output is evaluating for these elements.

    Before I used the Advanced support option for importing my schema, I was able to get these fields to output, but now when the extended types are included it doesn't work. I do need the extended types to map other fields in my map, so I can't just take that out. Below is the affected XML snippet if needed.

    <InstructedAmount Currency="CAD">1315</InstructedAmount>

    Thank you in advance!
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: How to process xml element with attribute and value?

    Posted 11/29/12 08:31 AM

    Originally posted by: lanapoli


    If you are still experiencing issues, pls post a simple map and I will look at it and provide comments.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange