<div>Document before</div>
<div> </div>
<div><xml></div>
<div> <type></div>
<div> <Orange/></div>
<div> <Green/></div>
<div> </type></div>
<div></xml><br> </div>
<div>I then call objElementType.removeChild("Green");</div>
<div> </div>
<div>and my xml looks like this</div>
<div> </div>
<div>
<div><xml></div>
<div> <type></div>
<div> <Orange/></div>
<div> </div>
<div> </type></div>
<div></xml><br> </div><br> </div>
<div>but i want it to look like this</div>
<div> </div>
<div>
<div><xml></div>
<div> <type></div>
<div> <Orange/></div>
<div> </type></div>
<div></xml><br> </div></div>
<div><span class="gmail_quote">2006/12/12, Victor Toni <<a href="mailto:victor.toni@ebuconnect.de">victor.toni@ebuconnect.de</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Søren Faltz wrote:<br>> When I use the removechild method, an empty line occurs in the Jdom<br>> document, how do I avoid this empty line???
<br><br>Providing a simply test case might prove useful.<br><br>Kindest regards,<br>Victor<br></blockquote></div><br>