Skip to main content


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 10:51 Go to next message
samar sousou is currently offline samar sousouFriend
Messages: 63
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 11:06 Go to previous messageGo to next message
Adnan AL-SOSWA is currently offline Adnan AL-SOSWAFriend
Messages: 41
Registered: May 2010
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 12:21 Go to previous messageGo to next message
samar sousou is currently offline samar sousouFriend
Messages: 63
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.

Re: how can i extract the data from model to text [message #1062527 is a reply to message #1059233] Sat, 08 June 2013 09:22 Go to previous message
Low Coupling is currently offline Low CouplingFriend
Messages: 30
Registered: June 2013
Member
what is the meta-model of your input model? is it UML or a self-defined meta-model?
Previous Topic:[Acceleo] Which Acceleo version do I need for UML 1.3
Next Topic:[Acceleo] "Launch Acceleo Application" fails
Goto Forum:
  


Current Time: Sat Nov 09 02:25:21 GMT 2024

Powered by FUDForum. Page generated in 0.03848 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top