Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java And XML

 
Ann Maria
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to add,delete and update content of XML files using Java DOM?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the org.w3c.dom.Node interface, particularly its removeChild, appendChild, insertBefore and setNodeValue methods.
 
chetan anurag
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CHECK OUT JDOM.jar THE BEST API FOR PARSING XML.
www.jdom.org
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic