
Hi,
I am writing a program in java that reads the xml file from a webservice. The Document object is returned in my program. I have save the dom document into xml file. How to convert dom to xml string and then save into a file?
Thanks

Hi,
You have to use Transformer class for converting DOM object into string data.
Please check the thread dom to xml string.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.