[Acceleo] Getting object's textual reference [message #1767217] |
Mon, 03 July 2017 12:41  |
Eclipse User |
|
|
|
Hey,
I'm creating a Ecore to (a customized) XML file conversor using Acceleo. However, some references in my XML file need to maintain the same kind of reference text which is in the Ecore file.
For example, I have a ecore file as follows:
<refinements xsi:type="gore:AwReq" name="A3" target="//@refinements.0">
<strategies xsi:type="eca:RelaxReplaceChildStrategy" name="'RelaxReplaceChildStrategy'" requirement="//@refinements.0" newRequirement="//@refinements.3"/>
</refinements>
I want to have the same string as in target, requirement or newRequirement variables. So my new XML file would be, for instance:
<newFormatedLine name="..." target="//@newFormatedLine.0">
But in acceleo I can only get the objects class reference, not its textual reference. Do someone can help me in this (apparently) simple task?
Thanks.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06268 seconds