View Single Post
  #2 (permalink)  
Old 03-27-2008, 05:06 PM
DonCash's Avatar
DonCash DonCash is offline
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 220
DonCash will become famous soon enoughDonCash will become famous soon enough
Hey.

Well to write to a file you would need to do this:

Code:
Writer output = null; output = new BufferedWriter(new FileWriter("my_document.xml")); String newline = System.getProperty("line.separator"); output.write("<tag>calculated results</tag>"); output.write(newline); output.close();
Obviousally you would need to format the output correctly to be a proper xml document.

Hope that helps you get started!!
Reply With Quote