So the output you get currently uses sub-elements for the ids ? werner
> -----Ursprüngliche Nachricht----- > Von: Claudio Di Vita [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 10. Mai 2007 11:25 > An: [email protected] > Betreff: Re: [castor-user] Advanced collection mapping ?? > > > That mapping should work as is, as you have specified both the add as > well as the > > iterate* method correctly. What problems are you seeing > > I want marshal the strings contained in the collection as an > attribute. For example, if the collection contains the strings "01", > "02" i want produce the following XML: > > <foo> > ...... > <bar id="01" /> > <bar id="02" /> > </foo> > > -- > Claudio > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

