Originally posted by: TarunB
Most likely you are importing the XML structure from a XSD. You can open up the XSD in any editor and you will see that it contains Choice groups. In it simplest form you will find something like this:-
<xs:choice minOccurs="0">
<xs:element name="StockOption1" type="FixedRate"/>
<xs:element name="StockOption2" type="indexfixing"/>
</xs:choice>
These translate, usually quite naturally, into TX Choice groups in your type trees. So that would explain why you have Choice groups.
As for changing the Choice group to a Sequence - yes it's possible but not something I would recommend. Consider maintenance of the application, certainly in the longer term. What if there is a change request and a new XSD is issued for the interface? Then you would need to re-import the XSD and re-edit the type tree to include all of the amendments you made to it. This can get quite messy and will require a lot of documentation and re-work each time.
It's hard to tell the best way forward without us knowing your exact requirements, but the Choice group is there for a reason and you're best off trying to use it rather than removing it.
Good luck.
#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender#DataExchange