I'm having two xml files as shown below and I need to read a node from one xml and append that node to another xml file.
Xml file :1
<A>
<B>
<c>1<c/>
<d>2<d/>
<e>3<e/>
</B>
</A>
Xml file :2
<AA>
<BB>
<cc>1<cc/>
<dd>2<dd/>
<ee>3<ee/>
<ff>
<gg>4</gg>
<ff>
</BB>
</AA>
RESULT
<A>
<B>
<BB>
<cc>1<cc/>
<dd>2<dd/>
<ee>3<ee/>
<ff>
<gg>4</gg>
<ff>
</BB>
<c>1<c/>
<d>2<d/>
<e>3<e/>
</B>
</A>
Any advice you could give is much appreciated.