|[ATL] Format of output model [message #666271]
||Tue, 19 April 2011 16:44
| Ton Tu
Registered: June 2010
I have a problem with the text element in the output model. More precisely, I want to create a kind of model like
. I followed the instruction in this post http://www.eclipse.org/forums/index.php?t=rview&goto=655 553&th=203153. I injected an XML schema to produce an ECORE meta-model.
<Element>This is the text element</Element>
The problem is that when the ATL rule is run, all text elements turned out to be attributes! At first, I thought that was the problem with my ECORE meta-model. I created an EMF project to produce a model editor. The format of my model was perfectly right (text elements appeared).
So, my question is: does ATL support the generation of text elements and if it does, how could we specify them in a specific ATL rule?
Thanks in advance!
Powered by FUDForum
. Page generated in 0.01789 seconds