Book a Demo

Author Topic: modelling xslt transformations ?  (Read 2147 times)

moses

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
modelling xslt transformations ?
« on: May 31, 2005, 04:25:07 pm »
Hello,
we have a class model, then there is a xml message, modelled as a class, too.
I'd like to model the way this message affects the data in the model. This could generally be a xslt transformation (I am not willing to generate the xslt automatically, at the moment :-).

Basically this means I am asking for a nice way of modelling a relation between two atributes of two classes. Roles on an association don't seem to be a solution. Any other ideas please ?

Similar, atribute related troubles :
how would you model a view (in sql) ?
how would you say a form displays these three attributes of a class, and in such an order ?

One spossible solution I was thinking about, but haven't tried yet, was to define an MDA transformation, that would do a "class explosion" - create independent "objects" or classes out of each attribute.
But I am convinced there must be a nicer way, I just haven't found it yet ...

Thanks a lot, regards, Moses