Re: [dom4j-dev] Incorrect behavior in OutputFormat class

2003-10-15 Thread Jan Dvorak
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

[dom4j-dev] Incorrect behavior in OutputFormat class

2003-10-15 Thread Srinivas Maram
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