Is there any way to generate an indefinite number of target models in a qvto m2m transformation? [message #583855] |
Mon, 24 August 2009 15:45 |
Toñi Reina Messages: 209 Registered: July 2009 |
Senior Member |
|
|
Hi all,
my question is related to the mindmap2xhtml (included in the book
Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit) or
the Uml2Xhtml example that Sergey has mentioned in his answer to my
previous question
('org.eclipse.m2m/org.eclipse.m2m.qvt.oml/examples/org.eclip se.m2m.qvt.oml.econ2009.tutorial').
In both cases a unique xhtml file is generated that contains all the
mindmap information, in the first example, and all the uml model
information in the second one. But what if I want to generate different
xhtml files, one for each topic, in the first example, and one for
each class in the second one.
In both cases the number of instances of the output metamodel is
variable, because it depends on the number of topics in the first
example, and on the number of classes in the second one. My question is:
is there any way of specifying this in qvto?
Best regards,
Toñi
|
|
|
Powered by
FUDForum. Page generated in 0.01781 seconds