[ATL] Transform several elements into one element [message #830230] |
Tue, 27 March 2012 11:05 |
Eclipse User |
|
|
|
Hi,
I want to transform a serie of persons, for example:
<Male fullName="Jim March"/>
<Male fullName="Brandon March"/>
<Male fullName="Peter Sailor"/>
<Male fullName="David Sailor"/>
<Male fullName="Dylan Sailor"/>
<Female fullName="Cindy March"/>
<Female fullName="Brenda March"/>
<Female fullName="Jackie Sailor"/>
<Female fullName="Kelly Sailor"/>
into Families with this structure:
<Family lastName="March">
<father firstName="Jim"/>
<mother firstName="Cindy"/>
<sons firstName="Brandon"/>
<daughters firstName="Brenda"/>
</Family>
<Family lastName="Sailor">
<father firstName="Peter"/>
<mother firstName="Jackie"/>
<sons firstName="David"/>
<sons firstName="Dylan"/>
<daughters firstName="Kelly"/>
</Family>
I am new in ATL transformations. How do I accomplish this?
Thanks,
|
|
|
Powered by
FUDForum. Page generated in 0.02948 seconds