<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.