Hello all,
My question concerns the MDA template transformation of UML models under EA to XML ones. More precisely, how to make references “on the fly” to an INTERMEDIATE transformed UML model (e.g. a stereotyped XSDschema date types’ model) from another INTERMEDIATE transformed UML one before the final transformation to XML code.
The problem I am facing is the following. I have an UML model, let’s called model A, having its data types defined in another UML model, model B, under the same project repository. My objective is to transform these two models to XML code. To carry out that, I have defined a XSD template transformation based on the official one provided with EA. The problem is that when I choose the feature of “Transform current package” for the model A (intermediate transformation before obtaining the XML code), everything goes well at the exception that there are no good references to the transformed data types of the intermediate transformed model B. By searching again and again in the documentation of EA, I would suppose that this should be done by using TRANSFORM_CLASSIFIER. However, due to the lack of information on how to use that macro (no available examples!), I wasn’t able to achieve that.
Could anyone please help me with this problem?? I recall you that I’m novice with code template transformation under EA.
Many thanks in advance,
Ibrahim