I am new to the XSL transformations. Where i am trying to extract a part of XML using XSLT.
The Source XML
<tree>
<trunk>
<branch>
<leaves></leaves>
<flowers></flowers>
<fruits></fruits>
</branch>
</trunk>
</tree>
and i am expecting the following XML as output
<root>
<branch>
<leaves></leaves>
<flowers></flowers>
<fruits></fruits>
</branch>
</root>
Please provide the transformation, i have been doing some random stuff for long time.