Hi guys
we need a little help to solve this requirement below;
Input xml file
<Root> <Header> <H1>headerdata</H1> </Header> <Item> <I1>itemdata1</I1> </Item> <Item> <I2>itemdata2</I2> </Item> <Item> <I3>itemdata3</I3> </Item></Root>
needed output file is;
<Root> <Data1> <header>headerdata</header> <item>itemdata1</item> </Data1> <Data2> <header>headerdata</header> <item>itemdata2</item> </Data2> <Data3> <header>headerdata</header> <item>itemdata3</item> </Data3></Root>
can anyone assist me? Thank you