<P>Hello i´m having trouble with JDOM XMLOutputter. I don´t want to have blank spaces removed from element´s text but always my xml file is recorded without them.</P>
<P>The problem is when i use ´setNewlines(true)´ my blank spaces are gone when i have a string composed with only blank spaces.<BR>When i set newlines to false the problem is solved. But i can´t have my recorded XML file messed, so i need to use setNewLines(true) with setIndent(\t).</P>
<P>i already tried this :</P>
<P>XMLOutputter outputter = new XMLOutputter();<BR>outputter.setEncoding("UTF-8"); <BR>outputter.setTextNormalize(false); <BR>outputter.setTextTrim(false);<BR>outputter.setTrimAllWhite(false);<BR>outputter.setNewlines(true);<BR>outputter.setIndent("\t");</P>
<P>and it didn´t work.. </P>
<P>Please help me somebody, what should i do?</P>
<P>I´ll be very gratefull for any help!</P><p><br><hr size=1><b><a href="http://br.busca.yahoo.com/">Busca Yahoo! </a></b><br>
O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra.