on 07-16-2013 3:51 PM
Hi gurus,
we have following input message type
<ROOT>
<ITEM>
<ID>A</ID>
<LIST>
<NR>101</NR>
<NR>102</NR>
</LIST>
</ITEM>
<ITEM>
<ID>A</ID>
<LIST>
</LIST>
</ITEM>
<ITEM>
<ID>A</ID>
<LIST>
<NR>103</NR>
</LIST>
</ITEM>
<ITEM>
<ID>A</ID>
<LIST>
<NR>104</NR>
</LIST>
</ITEM>
<ITEM>
<ID>B</ID>
<LIST>
<NR>201</NR>
</LIST>
</ITEM>
<ITEM>
<ID>B</ID>
<LIST>
<NR>202</NR>
<NR>203</NR>
<NR>204</NR>
</LIST>
</ITEM>
</ROOT>
and need the following output ;
<ROOT>
<NODE>
<ID>A</ID>
<NR>101</NR>
</NODE>
<NODE>
<ID>A</ID>
<NR>102</NR>
</NODE>
<NODE>
<ID>A</ID>
<NR>103</NR>
</NODE>
<NODE>
<ID>A</ID>
<NR>104</NR>
</NODE>
<NODE>
<ID>B</ID>
<NR>201</NR>
</NODE>
<NODE>
<ID>B</ID>
<NR>202</NR>
</NODE>
<NODE>
<ID>B</ID>
<NR>203</NR>
</NODE>
<NODE>
<ID>B</ID>
<NR>204</NR>
</NODE>
</ROOT>
in some of case is the list without <NR>
<ITEM>
<ID>A</ID>
<LIST>
</LIST>
</ITEM>
How can we solve this mapping issue with graphical mapping?
Thank you
Hi Peter ,
Amrish mapping will handle only one ID (i.e. ID node should not occurrence should not be more than 1(to use one as many) ). I think , we can achieve this requirement by java mapping easily .
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.