Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
220 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Accepted Solution

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

Featured Post

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Simple Linear Regression
Six Sigma Control Plans

618 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