Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[henshin-user] Node Attribute Self Reference

Hi all,

I wanted to ask if it is possible to reference an attribute to itself within a node.

e.g.:

    I have a rule where I search for a specific Node with an attribute and if this node is found I want to add 5 to that attribute
    and I do not matter which value it had before.

     ------------------------------------
    | <<preserve>>                |
    | :NodeWithAttribute          |
     ------------------------------------
    | attribute = attribute + 5 |
     ------------------------------------

Is this somehow possible for example with the _javascript_ Engine?


Regards,
Jürgen


-- 
Dipl.-Ing. Jürgen Freund
Arbeitsgruppe Ähnlichkeitsmechanik

Telefon: +49 (0)711 685 69530
E-Mail:  freund@xxxxxxxxxxxxxxxxxxxx

Postadresse:
Universität Stuttgart
Institut für Statik und Dynamik der Luft- und Raumfahrtkonstruktionen
Pfaffenwaldring 27 - Zimmer 01.002
70569 Stuttgart

Back to the top