Re: Removing Elements
Chris Pratt <[email protected]> Mon, 9 Apr 2012 10:02:03 -0700
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <CAALdY0y8G5qh=LnJThT2xK29d=8eUsCVX+Ho1f6VFAcFr7C4jQ@mail.gmail.com> |
If I'm not mistaken, you have to call .detach() on the element to detach it from it's parent before it can be removed. (*Chris*) On Mon, Apr 9, 2012 at 9:47 AM, Bashiro <[email protected]> wrote: > Hello Folks! > First of all thanks to the jDom team for version 2.0! > Congrats to us all... > > My question is; I am trying to remove an element in jDom. It only removes > the element if > the element is located at [0]. Is there a good code or a good book to > help me with that ? > > Thanks > > Bashiro > Drammen-Norway > > _______________________________________________ > To control your jdom-interest membership: > http://www.jdom.org/mailman/options/jdom-interest/[email protected] > _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]