I am very much beginner in XSLT. I am trying to transform this XML :
<A>
<B>
<C>
<A id="1">
<I/><T/>
</A>
<A id="2">
<I/><T/>
</A>
</C>
<C>
<A id="3">
<I/><T/>
</A>
<A id="4">
<I/> <T/>
</A>
</C>
</B>
</A>
to something like :
<A>
<B>
<A id="1">
<I/> <T/>
</A>
<A id="2"/>
<I/> </T>
</A>
<A id="3">
<I/> <T/>
</A>
<A id="4"/>
<I/> <T/>
</A>
</B>
</A>
As you can see here I have 2 'C' tag blocks under 'B' tag block. I want get rid of the 'C' tag and add all sub 'A' tags under 'B' tag and also I need 'I' and 'T' tags within 'A'..
Could someone please help me on this one?