Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Change XML content

  Asked By: Don    Date: Mar 02    Category: Java    Views: 757
  

I have an XML and parse it and change the value of one of his nodes.
The problem comes when I want to save the changes to the xml file ...
I have no idea on how to do that.

Can someone help me?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Bradley Evans     Answered On: Mar 02

What are you using to parse  the XML content  and then modify it? I would
suggest either JDOM ( http://www.jdom.org/ ) or Dom4J (
http://www.dom4j.org/ ). They are both packages which help  make it
easier to use xml  documents from within Java.

 
Didn't find what you were looking for? Find more on Change XML content Or get search suggestion and latest updates.




Tagged: