Write StringBuffer to XML file
843834Jul 8 2008 — edited Jul 8 2008Hey all,
I'm facing a problem about writing some data to an XML file. I retreive the data from a database and write them on a StringBuffer as XML (including tags etc). When i try to print the StringBuffer to an XML file it is printed in a different way. Some strange characters appear on the start and the new line character(\n) is printed as a square without adding a new line on the file.
Does anyone knows how to solve this? Any help is appreciated.
Tnx in advance.