|Re: Transform UML2XSD [message #854092 is a reply to message #854075]
||Mon, 23 April 2012 16:56
| Ed Merks
Registered: July 2009
On 23/04/2012 6:33 PM, Arnedo Ramon wrote:
> 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
> 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,
Powered by FUDForum
. Page generated in 0.02121 seconds