Several XML Files into one UML [message #990994] |
Sun, 16 December 2012 09:08  |
Eclipse User |
|
|
|
Hi,
I have the following situation:
I have a lot of XML files (XSD files, XML files based on custom XSD etc.) with cross-references (e.g. in one XSD another XSD is imported and types defined in this file are refined etc.). Now I want to create one UML model from these files.
Is this possible with ATL? Currently I am using ATL only that way:
One file as input => one file as output.
But how do I work with ATL in this situation? The number of input files can differ and everything is expected to be part of one big model.
Is this possible at all?
Regards,
Tex
[Updated on: Sun, 16 December 2012 09:12] by Moderator
|
|
|
|
Re: Several XML Files into one UML [message #991050 is a reply to message #990994] |
Mon, 17 December 2012 03:14  |
Eclipse User |
|
|
|
Hi
If you want a diversity of inputs you may find it better to define your
M2M as
Merge-instruction to Result
so that you merge instruction model references each of the input files
in a suitable way.
The merge instruction meta-model is almost certainly very simple, but
once you have one you can make it more useful.
Since it is so simple, it is very easy to maintain it with the Sample
Reflective Ecore Model editor.
Regards
Ed Willink
On 16/12/2012 14:08, Tex Iano wrote:
> Hi,
>
> I have the following situation:
>
> I have a lot of XML files (XSD files, XML files based on custom XSD
> etc.) with cross-references (e.g. in one XSD another XSD is imported
> and types defined in this file are refined etc.). Now I want to create
> one UML model from these files.
>
> Is this possible with ATL? Currently I am using ATL only that way:
>
> One file as input => one files as output.
>
> But how do I work with ATL in this situation? The number of input
> files can differ and everything is expected to be part of one big model.
>
> Is this possible at all?
>
> Regards,
>
> Michael
|
|
|
Powered by
FUDForum. Page generated in 0.06097 seconds