Posted: Wed Oct 10, 2007 11:47 am Post subject: Creating repeating element in mapping node
Voyager
Joined: 25 Apr 2007 Posts: 83 Location: Melbourne
Hi All,
I need to create repeating element MRM-TDS to MRM-XML, need some help on that. The message is huge with more that 450 fields and doesn't make sence to map values in ESQL
SET output...Data1 = Input..Data1.
So i was exploring mapping node and i didn't see any example or any solution similar to my case...
my input is
data|data|data|Add1|Add2|City1|City2|Data|Data....
and i want to create
<Message>
<Data/>
<Data/>
<Address Type ='1'>
<Add></Add>
<City></City>
</Address>
<Address Type ='2'>
<Add></Add>
<City></City>
</Address>
<Data/>
<Data/>
</Message>
I am fine with all the data elements, it works perfectly fine, but how to create those repeating element using mapping node, the output has multiple these kind of repeating elements with different attribute in the message.
all help and input are higly appriciated. Thanks in advance
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum