XML and ATL [message #654868] |
Thu, 17 February 2011 08:35  |
Eclipse User |
|
|
|
Hi,
I have been using ATL to do M2M transformation for quite some time but only using xmi files as inputs, now i tried to use an xml file in my transformation but i have some errors.
Ok, now this is all i have done so far :
1 - i had an xml and it's xsd file
2 - from ithe xsd i generated an ecore meta model using an EMF project.
3 - i created a simple ATL transformation to another Ecore meta modèle.
4 - after execution of the ATL transformation i had some errors.
My questions are :
Can we use an xml file in an atl transformation or do we need an xmi file ?
if we need an xmi file, how do we transform an xml file to an xmi file ?
Thank you for your answers.
|
|
|
|
|
|
|
Re: XML and ATL [message #655658 is a reply to message #655550] |
Tue, 22 February 2011 03:02  |
Eclipse User |
|
|
|
Le 21/02/2011 18:55, Mehdi a écrit :
> hi,
>
> ok i think i managed to do everything until the creation of the plugin.
> my question now is what do i put as my atl input MM ?
> is it the ecore MM or something else ?
You can use the URI of the Ecore metamodel, as it is registe'red (look
at the extension in the plugin.xml.
>
> thank you for your time
--
Cordialement
Vincent MAHÉ
Ingénieur Expert - Projet IDM++ - Équipe AtlanMod
École des Mines de Nantes
La Chantrerie - 4, rue Alfred Kastler
B.P. 20722 - F-44307 NANTES Cedex 3
Tel: (33)2 51 85 81 00
|
|
|
Powered by
FUDForum. Page generated in 0.05021 seconds