File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes How to update a XML File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to update a XML File " Watch "How to update a XML File " New topic

How to update a XML File

konda Raju

Joined: Jan 20, 2000
Posts: 16
I am having a xml file through Dom i am able to parse the xml file and i am able to add new nodes to that, my problem is the new node is not appearing in the XML file (i.e i am not able to update the xml )
Can any body please send me the code.
Please mail to This address
Thanks in advance
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Welcome to JavaRanch!
We don't have many rules here at JavaRanch, but we do have one. Please change your display name to comply with The JavaRanch Naming Policy.
Thanks pardner!
Also, since this question deals more with XML, I'm moving it to that forum. To get a better response, how about posting your code so far, so we can see where it might be bugged.
I agree. Here's the link:
subject: How to update a XML File
It's not a secret anymore!