<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello all,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I am trying to add child Elements into a Document
using:</FONT></DIV>
<DIV><FONT size=2>document.getRootElement().addContent( element );</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>The element is always inserted as the last child of the
RootElement. Is there any way of choosing the position of the new element inside
its parent element when it is inserted?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Cheers,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Otavio </FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=2>============================<BR> Otavio Rezende da Silva
<BR> Grupo TecComm - PUC-Rio <BR> Tel: (21) 540-6915
r
110
<BR>============================</FONT></DIV></BODY></HTML>