Solved

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

Posted on 2006-11-16
3
206 Views
Last Modified: 2010-04-17
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


0
Comment
Question by:futurelogix
3 Comments
 
LVL 7

Accepted Solution

by:
Chandan_Gowda earned 300 total points
ID: 17994768
Using xpathnavigator class and clipboard object u can achieve this
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
This is an explanation of a simple data model to help parse a JSON feed
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question