Hello All,
I want to generate XML file in below format
<Root>
<Node count = '1'>
.....
.....
</Node>
<Node count = '2'>
.....
.....
</Node>
<Node count = '3'>
.....
.....
</Node>
</Root>
The closing node of <Node count> is <Node>.
and the value present in single code should increment by one for every next node.
I am able to get the closing node of <Node count> as </Node>, but unable to get the counter value.
I am trying to do it be variables etc but could not get the exact logic.
Requesting to help in this regard.
With regards,
Sandeep Akella