Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » AMW » XML to Ecore Tranformation needed!
XML to Ecore Tranformation needed! [message #534879] Thu, 20 May 2010 10:34 Go to next message
Alexey is currently offline Alexey
Messages: 61
Registered: January 2010
Member
Hi!
I hope, it's ok, that i post so many new topics here Smile

Now, I have all a need to start an ATL - Transformation (AMW - Level is done: - ATL-file generated).

BUT! Unfortunatelly is my input model - an xml-file.
And as far as I understand, it must be km3 or ecore (or xmi?), in order to include it in an ATL-transformation.

Please, could someone advise me, how to transform an xml to ecore or KM3 (or xmi)?

Thanks a lot!

Alexey


[Updated on: Thu, 20 May 2010 10:49]

Report message to a moderator

Re: XML to Ecore Tranformation needed! [message #534905 is a reply to message #534879] Thu, 20 May 2010 11:36 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARD
Messages: 522
Registered: July 2009
Senior Member
You can use EMF directly (see here) or use the AM3 XML injector which will inject the xml file to a standard XML model (using the concepts of Nodes, Attributes, Texts, Root).
Re: XML to Ecore Tranformation needed! [message #536178 is a reply to message #534905] Thu, 27 May 2010 06:27 Go to previous message
Alexey is currently offline Alexey
Messages: 61
Registered: January 2010
Member
Sylvain EVEILLARD wrote on Thu, 20 May 2010 11:36
You can use EMF directly (see here) or use the AM3 XML injector which will inject the xml file to a standard XML model (using the concepts of Nodes, Attributes, Texts, Root).


Thank you! I will try the injector!
Previous Topic:QATL: "Model - extract to ATL" - option not found!
Next Topic:Eclipse 3.4.2 reads XMI 2.1 with errors!
Goto Forum:
  


Current Time: Fri Jul 25 09:48:54 EDT 2014

Powered by FUDForum. Page generated in 0.09909 seconds