Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to modify XML file in Java

 
mohanasundaram muthukannan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Dear all,

i have a one xml file.



and i want modify like Tom is Ram and Cruise is sundar using java.

is it possible or not?

Regards,
Mohan


 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not an advanced question at all. Yeah, it's possible by the way.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are any number of libraries/APIs you can use to modify XML files: DOM, XOM, dom4j, JDOM, ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic