Skip to Content
0
Former Member
Jul 16, 2013 at 02:51 PM

need help in graphical mapping

16 Views

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