[jdom-interest] Placing Content in a Document

Otavio Rezende da Silva otavio at teccomm.les.inf.puc-rio.br
Tue Feb 13 08:01:48 PST 2001


Hello all,

I am trying to add child Elements into a Document using:
document.getRootElement().addContent( element );

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?

Cheers,

Otavio 


============================
 Otavio Rezende da Silva 
 Grupo TecComm - PUC-Rio    
 Tel: (21) 540-6915 r 110                   
============================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010213/20e7df2b/attachment.htm


More information about the jdom-interest mailing list