[jdom-interest] Processing XML with Java book
MarkW
mark.wilson at wilsoncom.de
Fri Dec 13 05:50:20 PST 2002
Hi Antonello,
try using removeContent( Element ele ).
Greetings,
Mark
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org] On Behalf Of Antonello Dell'Armi
> Sent: Friday, December 13, 2002 2:39 PM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] Processing XML with Java book
>
>
>
> In the book Processing XML with Java chapter 15 (The JDOM
> Model ) i read
> [...]
> For example, this deletes the first link child element of the
> channel element:
>
> channel.removeChild(channel.getChild("link"));
>
> but getChild(java.lang.String name) return an element and
> there is no method removeChild(Element) , but only
> removeChild(java.lang.String name) or
> removeChild(java.lang.String name, Namespace ns) what do you
> think about?
> I have a problem to delete a child. What method can i use?
>
> Best Regards
> @nto
>
>
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com
More information about the jdom-interest
mailing list