|[ATL]problem accessing elements in the target model [message #537895]
||Fri, 04 June 2010 06:36
| Hajer OUALHA
Registered: June 2010
I'm intending to make a model transformation between a DSML (Domain Specific Modeling Language) that I have defined and the IMS specification, which is a standard.
My problem is that this specification elements' name are in that form:
"learning-objectives" , "learning-design"
You may guess that when I want to write the mapping rule, I can not access the elements of that target meta model, since ATL doesn't consider this nomination way as a valid one.
From my needs, I had to make a double transformation between the to metamodels, one from CAAML meta model (my DSML name) to IMS, and another from IMS to CAAML. For that last one, I solved the problem by accessing my source element with that method
learningDesign <- s.refGetValue('learning-design')
But I notice that is the other way, I can not access my target model elements in the binding block with a method.
Could anyone help me on that stuff, it really urges!!
Thanks all in advance
[Updated on: Fri, 04 June 2010 07:06]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01914 seconds