|
|
|
Re: Mapping one object to multiple [message #1377755 is a reply to message #1374222] |
Sat, 24 May 2014 01:10 |
Jonathon Clarke Messages: 4 Registered: May 2014 |
Junior Member |
|
|
Hi, I have come across another problem.
I now have the new objects being created within the same container, but I need to be able to control the order.
If I start with a model which has a container with {A, B C}
My transformation results in {A, B, C, A1, B1, C1}
I have been trying to get it to produce {A, A1, B, B1, C, C1} but I am unsuccessful.
Is there a way to specify that the new elements should be inserted straight after their counterpart?
Thank you.
|
|
|
|
Re: Mapping one object to multiple [message #1383878 is a reply to message #1383665] |
Mon, 26 May 2014 15:55 |
Hugo Bruneliere Messages: 674 Registered: July 2009 |
Senior Member |
|
|
Hello,
EMF is already providing some support to import XML documents as regular EMF models.
You should take a look to this (cf. the EMF documentation and forum).
If needed, you could of course use an additional ATL transformation to perform an eventually required mapping.
--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
|
|
|
Powered by
FUDForum. Page generated in 0.02869 seconds