Hi i want to copy a node from xml file B and need to paste this node in xml file A,iwant todo with JDOM JAVA

file A.XML
<XML>
<TP>
<FF>
</FF>
</TP>
</XML>


file B.XML

<XML>
<TP>
<GG>
</GG>
</TP>
</XML>


I WANT TO PASTE node GG in b.xml to a.xml like this

<XML>
<TP>
<FF>
                <GG>
               </GG>
</FF>
</TP>
</XML>

i WISH TO DO THIS WITH JDOM and JAVA .
Please let me know how to do this ....
i dont want to use XSL OR XSLT ...

i am free for discussions...pls help me
ciao


futurelogixAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Chandan_GowdaConnect With a Mentor Commented:
Using xpathnavigator class and clipboard object u can achieve this
0
All Courses

From novice to tech pro — start learning today.