This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Java And XML 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 "Java And XML" Watch "Java And XML" New topic
Author

Java And XML

Ann Maria
Greenhorn

Joined: Sep 09, 2005
Posts: 27
How to add,delete and update content of XML files using Java DOM?
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Check out the org.w3c.dom.Node interface, particularly its removeChild, appendChild, insertBefore and setNodeValue methods.
chetan anurag
Greenhorn

Joined: Dec 08, 2005
Posts: 6
CHECK OUT JDOM.jar THE BEST API FOR PARSING XML.
www.jdom.org


chetan
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Java And XML
 
It's not a secret anymore!