Hi Hari,
I have changed the Occurrence of Header on target to o to unbounded and now the occurrence of item and Header are same in the target. But i am getting the Target Result as mentioned below: Header1 with two items item1, item2 followed and then Header2. But Output should be Header1 followed by item1 and then Header2 with item2. Please check the error which i am getting now and please suggest me how can i proceed further.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_Receiver xmlns:ns0="http://UseOneAsManyExample"><Header><MatNo>MatNo</MatNo><MatDesc>MatDesc</MatDesc><MatGroup>MatGroup1</MatGroup><Item><MatNo>MatNo1</MatNo><ItemNo>ItemNo1</ItemNo><MatType>Mattype1</MatType><Plant>Plant1</Plant></Item><Item><MatNo>MatNo2</MatNo><ItemNo>ItemNo2</ItemNo><MatType>Mattype2</MatType><Plant>Plant2</Plant></Item></Header><Header><MatNo>MatNo</MatNo><MatDesc>MatDesc</MatDesc><MatGroup>MatGroup2</MatGroup></Header></ns0:MT_Receiver>
Regards,
GiRIDHAR