[jdom-interest] How to add two nodes with the same name on the same level?

junk_mail at wp.pl junk_mail at wp.pl
Tue Jan 13 23:31:54 PST 2009


hi,

Is it possible to add two nodes with the same name on the same level of
xml file using .addcontent() method?

I'm trying to do so and I get following error:

Exception in thread "main" org.jdom.IllegalAddException: The Content
already has an existing parent "tree"...

Is there any way to disable that execption and force jdom to create two
nodes with the same name?

regards,
sly

----------------------------------------------------
Gadają o tym wszędzie!!! 
SPRAWDź alefaceci.pl
http://klik.wp.pl/?adr=www.alefaceci.pl&sid=607




More information about the jdom-interest mailing list