Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] help required (copying attributes value of elements)

Hi Subramanya,

Yes, that's possible. You have to add a parameter to the rule which can be used to match the attribute. In you case it should be called "name".

Cheers,
Christian

On May 15, 2014 6:53 PM, "Subramanya K G" <subramanya.kg@xxxxxxxxx> wrote:

Hello All,


I am using Henshin tool for transformation of Models and have encountered a problem in copying one of the attribute of an element to the other element as shown in the attached henshin rule figure.

-
As shown in the attached file, MethodService model elements will have a name and my rule has to copy that rule to the MethodServiceDescriptor element's name attribute after transformation.

Is this possible ?? Kindly help

-- Thanks in advance



Thanks & Regards,
Subramanya



_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


Back to the top