[jdom-interest] Adding an element with unbounded maxOcc

Moipone Mocoancoeng mmoipone at yahoo.com
Wed Dec 10 05:10:00 PST 2003

How do I create an element that has an unbounded maximum occurences.
for examples I've created an element that I need to set text to an object that can be 1 0r more.When I do element.addContent only the first object is added to the one element and other object aren't added.
      Element element= new Element("ActivitySummary");
      for (int j = 0; j <act.length; j++){
         Element element1= new Element("ActivityType").setText(act[j]);
Please Advise on how best can I resolve this problem.
Best Regards

Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20031210/9f4ea754/attachment.htm

More information about the jdom-interest mailing list