Srinivas Maram writes:
[cut]
|
| OutputFormat outformat = OutputFormat.createPrettyPrint();
| //outformat.setTrimText(false);
|
| And when I uncomment the line above, it retains the value in the element
| text but keeps adding more white spaces and indentation everytime I save
| the same file.
Per
Hi,
I am not sure if this is correct behavior of OutputFormat class, as it is trimming the
text of an element. I thought white spaces in the text are relevant.
input becomes input
OutputFormat outformat = OutputFormat.createPrettyPrint();
//outformat.setTrimText(false);
And when I unc