I am trying to map from one XML schema to another. My issue is this, I have a schema something like this:
<Sequence>
<OBR>
<obr1></obr1>
<obr2></obr2>
</OBR>
<ORC>
<orc1></orc1>
<orc2></orc2>
</ORC>
When I get my resulting XML I get all the OBR’s at the top and then all the ORCs at the bottom. For example:
OBR
OBR
OBC
ORC
ORC
How can I make it so that the order of the OBR and ORCs in the original file stay in the resulting file? Like:
OBR
ORC
OBC
OBR
ORC
Any ideas would be appreciated, thanks!