Storing a big xml string in a xml document in java
- by shyam R
Hi All,
I Have a Java object which I am converting into a xml file. I am getting a big xml file here after converting java object.
I am capturing that converted xml file in a string like below
String ouputXML = xmlfile;
Noe If I pring the ouputXML on the console of IBM RSA in the proper format only it is printing but my requirement is I need to redirect outputXML in to an XML instead of printing in IBm RSA console.
I am able to do this but the problem is if I open the craetd XML file the xml structure is not proper , it is showing so many special characters .
Please help me !!