[jdom-interest] addChild()

Grigorios Dimitriadis grigorisdimitriadis at hotmail.com
Mon Sep 17 15:23:27 PDT 2001

I'm sorry, but I can't figure this out....

I was writing some code to create a DOM tree using JDOM
(based on the sample code from Brett's "Java and XML" book),
and when I tried to compile it, I found out that there is
no addChild() method in Element!

Although it is used throughout the book, and it is in the
reference appendix, it is not there in JDOM documentation
(downloaded ver. b7).

How are we supposed to add children "under" an element?

Thanks in advance,

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

More information about the jdom-interest mailing list