I am new to java and I would like to update the dates to existing xml file but not sure ho to do it lets say the file is File.xml and I need to change the date in: So I need to update the start and end date. Thanks
Asked
Active
Viewed 198 times
1 Answers
0
My suggestion there will be to go through this tutorial or use XStream library to manipulate your xml file.
XStream is super easy.
FileReader reader = new FileReader("file.xml")
Data newJoe = (Data)xstream.fromXML(reader);
You need to create Data
class that need correspond to xml document that you have.

RMachnik
- 3,598
- 1
- 34
- 51