Skip to Content
0
Former Member
Jun 30, 2007 at 09:27 AM

help in graphical mapping needed

12 Views

Hi,

i have a graphical mapping where the scenario is that in input we have the following structure

header0

header1----


occurances 1-unbounded

header2----


occurances 1-2

in the output i have to get the below structure

header0

header1----


occurances 1-unbounded

|-- header2 ---occurances 1-2

So i have done a one onone mapping

if my inp xml is like the one given below it works

<header0>

<value1>099</value>

</header0>

<header1>

<value1>09</value>

</header1>

<header2>

<value1>hjjd</value>

</header2>

<header2>

<value1>094f9</value>

</header2>

But if the input is like the one given below its not working

<header0>

<value1>099</value>

</header0>

<header1>

<value1>09</value>

</header1>

<header2>

<value1>hjjd</value>

</header2>

<header2>

<value1>094f9</value>

</header2>

<header1>

<value1>09769</value>

</header1>

<header2>

<value1>09469</value>

</header2>

i.e., if header1 repeats its not working can anyone help me in this issue

Thanks in advance,

Bhargav.