[jdom-interest] moving elements in the jdom tree

Brett McLaughlin brett.mclaughlin at lutris.com
Thu Jun 8 23:33:47 PDT 2000


Jakob Schwendner wrote:
> 
> hi there,
> 
> I am missing some kind of addChild(index, Element) as a member of the
> Element class to allow appending of elements at specified positions in the
> list.
> any hints?

List kids = element.getChildren();
kids.add(Element, index);

-Brett

> 
> jakob schwendner
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com





More information about the jdom-interest mailing list