<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT color=#000000 size=2>Hello,</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>Given this example (please notice the begining 
tag -- in bold);</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&lt;?xml version="1.0" 
encoding="UTF-8"?&gt;<BR><STRONG>&lt;test&gt;<BR></STRONG>&nbsp;&nbsp;&nbsp; 
&lt;CostItem&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/AcctNum&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;/AcctDesc&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;/CostItem&gt;<BR>&lt;/test&gt;</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>If I would&nbsp;read that xml and put some data 
in it using JDOM and use the JDOM's outputer object, ther result would 
this;</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>&lt;?xml version="1.0" 
encoding="UTF-8"?&gt;<STRONG>&lt;test&gt;<BR></STRONG>&nbsp;&nbsp;&nbsp; 
&lt;CostItem&gt; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;AcctNum&gt;test&lt;/AcctNum&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;AcctDesc&gt;test&lt;/AcctDesc&gt;<BR>&nbsp;&nbsp;&nbsp; 
&lt;/CostItem&gt;<BR>&lt;/test&gt;</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>The indent of <STRONG>&lt;test&gt; 
</STRONG>suddenly is out of place. </FONT><FONT color=#000000 size=2>Has someone 
fix this already?</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT color=#000000 size=2>christian NUESA<BR>Software Manager, R&amp;D 
Group<BR>Entertainment Partner<BR>(818) 955-6241</FONT></DIV></BODY></HTML>