wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41079
    
  43
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java And XML
 
Similar Threads
XML validation
A special thanks to Carl Trusiak
XML and Java
validation
interpretation of command line parameter