Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Adding Parent to Element.. (fwd)

Endre Stølsvik

2004-07-28


[ This got stuck in moderation-queue since I posted from my proper
address, apparently .. here goes again.. ]

This doesn't seem to work anymore with b10-rc1 :

someElement.addContent(new Element("One").addContent(someOtherElement1));
someElement.addContent(new Element("Two").addContent(someOtherElement2));

Am I right? Is there any reason for this? It worked perfectly before! ;)

Endre




_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.