File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
How to aoid overwrite while marshal inside of the for loop
Joined: Mar 18, 2013
Jun 18, 2013 05:53:47
I am trying to marshal
object into XML. i want to marshal java object into XML while it inside the for loop.
for the above code it's overwriting in the XML file after completion of each loop . but i want to write in new line after completion of each loop. Please let me know , how to do?
Ranganathan Kaliyur Mannar
Joined: Oct 16, 2003
Jun 20, 2013 00:08:03
I have moved this post to our XML forum where I think you will get better replies.
SCJP 1.4, OCMJEA/SCEA 5.0.
Joined: Jul 26, 2007
Jun 20, 2013 00:25:59
Like I had requested
please do take some efforts to
Also, do not post the same question multiple times. Let us continue the discussion in your original topic
Did you follow Bill's suggestion?
How to ask questions
Donate a pint, save a life!
Onff-turn it on!
I agree. Here's the link:
subject: How to aoid overwrite while marshal inside of the for loop
Java JDBC jtable only displaying one record
readObject from Stream till EOF
how to get XML from javaobject using JAXB
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015