howto change xml parent
in my XML stucture, initially I have <Root> with 2 childs - <A> and <B>.
any script that can make <A> being the parent of B?
such that the final XML structure be <Root> is the parent of <A>, <A> is the parent of B.
please help... thank you