SV: [jdom-interest] Creating multiple Elements using JDOm

Per Norrman pernorrman at telia.com
Thu Jan 8 08:08:38 PST 2004


You just create and add the elements as needed:
 
    Element d = new Element("Details");
    d.addContent(new Element("name"));
    d.addContent(new Element("name"));
    d.addContent(new Element("name"));
 
/pmn
 
-----Ursprungligt meddelande-----
Från: jdom-interest-admin at jdom.org [mailto:jdom-interest-admin at jdom.org]
För Moipone Mocoancoeng
Skickat: den 8 januari 2004 13:37
Till: jdom-interest at jdom.org
Ämne: [jdom-interest] Creating multiple Elements using JDOm



Hi All How do you create an element which has the same multiple
children, for example like below Details Element having more that one
Name subElements. Best Regards Moipone 



  _____  

Do you Yahoo!?
Yahoo! Hotjobs: Enter
<http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/e
vt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus> the
"Signing Bonus" Sweepstakes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20040108/6cca9d07/attachment.htm


More information about the jdom-interest mailing list