Writing the data to an XML file

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Writing the data to an XML file

Threaded View

  1. #1
    Join Date
    Jul 2005

    Writing the data to an XML file


    I am very new to Java and have been writing a very small basic program for college, but I have got stuck with writing the data my program outputs, into an XML file.

    Basically I want the data calculated to be output into an XML file which will be formatted to look like a quotation, and then read by the program, although I am only bothered about the writing at the moment.

    The code for the program is in the attached text file. It would be very helpful if someone could tell me where to start with writing XML for this program, or point me in the direction of a good tutorial.

    I have sofar tried several examples on the net, like OutputStream, but with no luck. I think this may be because I don't really know how to do it properly.


    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center