Not sure whether I understand you correctly. What does do the objects
look like ?
Werner
farhad ch wrote:
I have list of objects like "Foo" which contains an "id" attribute and a
collection of children and want to flat them during marshaling:
public class Foo{
int id;
List<Children> children
}
Creating a nested list is not complex but I would like to have something
like:
<Foos>
<Foo id="1" childName="a"/>
<Foo id="1" childName="b"/>
<Foo id="1" childName="c"/>
<Foo id="2" childName="aa"/>
<Foo id="2" childName="bb"/>
<Foo id="2" childName="cc"/>
</Foos>
How can you map these?
------------------------------------------------------------------------
Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email