Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » how can i extract the data from model to text
how can i extract the data from model to text [message #1059214] Fri, 17 May 2013 06:51 Go to next message
samar sousou is currently offline samar sousou
Messages: 58
Registered: March 2013
Member
Hi,
I did'nt understand how can i extract the data(instnace) from my model to the text.
because when i run I have no option to enter my model.

help me please,
samar.
Re: how can i extract the data from model to text [message #1059220 is a reply to message #1059214] Fri, 17 May 2013 07:06 Go to previous messageGo to next message
Adnan AL-SOSWA is currently offline Adnan AL-SOSWA
Messages: 21
Registered: May 2010
Junior Member
Hi ,
if I understood your question properly , if you use xpand ,then from the syntax of xpand you can access all elements of your model ,here really nice example to explain this by Peter Friese
http://www.peterfriese.de/getting-started-with-code-generation-with-xpand/
Re: how can i extract the data from model to text [message #1059233 is a reply to message #1059220] Fri, 17 May 2013 08:21 Go to previous message
samar sousou is currently offline samar sousou
Messages: 58
Registered: March 2013
Member
thank you for the response,
But my problem is that i have an xmi and i want to inject it in a datatype.
So i think that i should transform my model to an sql file by the acceleo but i have a problem that the instance can not be translated because there is no field to ad my model .xmi as input when i run it.

I need your help please,
Samar.

Previous Topic:[acceleo] loading EMF resource with a folder URI
Next Topic:[Acceleo]Acceleo does not see metamodels located in targetplatform
Goto Forum:
  


Current Time: Tue May 28 14:50:15 EDT 2013

Powered by FUDForum. Page generated in 0.01506 seconds