RTFM: http://www.jdom.org/docs/faq.html On Sat, 20 Oct 2001, sai reddy wrote: > Hello, > I am using JDOM to create a new XML file and I am able to do that. My > problem is I have to write down the comments at the top while i am getting > the comments at the bottom. I am sending the code . > Any body has any ideas why is it so?