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
200 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
Comment Utility
Using xpathnavigator class and clipboard object u can achieve this
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

This is about my first experience with programming Arduino.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now