What I see now is that alle the elements get separately added when I execute the createElement statements and they to the document while I only want the e1 element added (that has the other elements as children).
I'm sure there must be a simple way to do this but for the moment I don't see it. Can someone please help?
SCJP 5.0, SCEA part I
Author and all-around good cowpoke
Joined: Mar 22, 2000
Try adding e1 to the Document right after creating it.