Skip to Content
0
Former Member
Sep 14, 2007 at 05:38 AM

Split Message

85 Views

Hi All,

I encountered one question in the mapping. The following is my source message:

<MsgIn>

<SID>1</SID>

<SID>2</SID>

<Goods>

<Name>G1</Name>

<Price>10</Price>

</Goods>

<Goods>

<Name>G2</Name>

<Price>20</Price>

</Goods>

</MsgIn>

I wanted to get the following result by message mapping:

<MsgOut>

<Out>

<SID>1</SID>

<Goods>

<Name>G1</Name>

<Price>10</Price>

</Goods>

<Goods>

<Name>G2</Name>

<Price>20</Price>

</Goods>

</Out>

<Out>

<SID>2</SID>

<Goods>

<Name>G1</Name>

<Price>10</Price>

</Goods>

<Goods>

<Name>G2</Name>

<Price>20</Price>

</Goods>

</Out>

</MsgOut>

Did anyone encounter the same question?