Transform UML2XSD [message #853168] |
Sun, 22 April 2012 15:52  |
Eclipse User |
|
|
|
Hi,
I need to transform a UML model to a XDS Schema using Eclipse. How I can do it?
I read about two options: Hypermodel and EDNA. What do you recommend?
I need to know the transformations between then (UML-XSD) and I would like to modify them if it's possible.
Thanks for all,
Ramón.
|
|
|
|
|
Re: Transform UML2XSD [message #854092 is a reply to message #854075] |
Mon, 23 April 2012 12:56   |
Eclipse User |
|
|
|
Arnedo,
Comments below.
On 23/04/2012 6:33 PM, Arnedo Ramon wrote:
> Hi,
>
> I'm so sorry, but I didn't explain my idea so well.
>
> I'm going to try again.
>
> I don't want to serialize the UML model as XMI.
I assume not, given that UML2 models are already serialized as XMI.
>
> My objective is to transform UML model to its XSD Schema (I got it
> using Enterprise Architect). Besides, if it's possible know the steps
> and the source code to do it.
You make it sound like there is some specified mapping, but I don't know
of one.
>
> I did a Ecore model from a XSD Schema, but I couldn't do the inverse
> option: a XSD Schema from a Ecore model.
Open the *.genmodel and use Export Model...
> You explain me the option of generate an XMI or XML schema from the
> Ecore Model. How do you do it?
As above. You can play with it to see how it works.
> Open the Ecore model with the text Editor?
If you only have an Ecore model, you'll have to create Generator Model
for it; there's a wizard to create it.
>
> Thanks for all,
>
> Ramón.
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.38832 seconds