aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
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
Marshal

Joined: Mar 22, 2005
Posts: 42276
    
  64
Check out the org.w3c.dom.Node interface, particularly its removeChild, appendChild, insertBefore and setNodeValue methods.


Ping & DNS - my free Android networking tools app
chetan anurag
Greenhorn

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


chetan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java And XML