Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » XMI to XSD?
XMI to XSD? [message #76855] Mon, 26 January 2009 04:06 Go to next message
Anna is currently offline Anna
Messages: 34
Registered: July 2009
Member
I have created an ecore-diagram from which I can get an XMI-file. Is there
an easy way for me to translate this into an XSD-file for my diagram? I
suppose I could just write one from scratch, but it would of course be a
lot easier if there was some program/translator that could do it for me :)

Thanks,
Anna
Re: XMI to XSD? [message #76872 is a reply to message #76855] Mon, 26 January 2009 06:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26014
Registered: July 2009
Senior Member
Anna,

You're looking to convert an Ecore instance to an XSD instance? If you
have a *.genmodel open, you can use Generator->Export from the menu bar.


Anna wrote:
> I have created an ecore-diagram from which I can get an XMI-file. Is
> there an easy way for me to translate this into an XSD-file for my
> diagram? I suppose I could just write one from scratch, but it would
> of course be a lot easier if there was some program/translator that
> could do it for me :)
>
> Thanks,
> Anna
>
Re: XMI to XSD? [message #76888 is a reply to message #76872] Mon, 26 January 2009 07:01 Go to previous message
Anna is currently offline Anna
Messages: 34
Registered: July 2009
Member
Yes, that seems to be exactly what I wanted. I might have to do a more
"general" XSD-file too (not containing all the ecore-stuff that this one
does), but that shouldn't be to hard now when I can look at this one.

Thanks a lot!
/Anna

Ed Merks wrote:

> Anna,

> You're looking to convert an Ecore instance to an XSD instance? If you
> have a *.genmodel open, you can use Generator->Export from the menu bar.


> Anna wrote:
>> I have created an ecore-diagram from which I can get an XMI-file. Is
>> there an easy way for me to translate this into an XSD-file for my
>> diagram? I suppose I could just write one from scratch, but it would
>> of course be a lot easier if there was some program/translator that
>> could do it for me :)
>>
>> Thanks,
>> Anna
>>
Re: XMI to XSD? [message #603606 is a reply to message #76855] Mon, 26 January 2009 06:12 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26014
Registered: July 2009
Senior Member
Anna,

You're looking to convert an Ecore instance to an XSD instance? If you
have a *.genmodel open, you can use Generator->Export from the menu bar.


Anna wrote:
> I have created an ecore-diagram from which I can get an XMI-file. Is
> there an easy way for me to translate this into an XSD-file for my
> diagram? I suppose I could just write one from scratch, but it would
> of course be a lot easier if there was some program/translator that
> could do it for me :)
>
> Thanks,
> Anna
>
Re: XMI to XSD? [message #603608 is a reply to message #76872] Mon, 26 January 2009 07:01 Go to previous message
Anna is currently offline Anna
Messages: 34
Registered: July 2009
Member
Yes, that seems to be exactly what I wanted. I might have to do a more
"general" XSD-file too (not containing all the ecore-stuff that this one
does), but that shouldn't be to hard now when I can look at this one.

Thanks a lot!
/Anna

Ed Merks wrote:

> Anna,

> You're looking to convert an Ecore instance to an XSD instance? If you
> have a *.genmodel open, you can use Generator->Export from the menu bar.


> Anna wrote:
>> I have created an ecore-diagram from which I can get an XMI-file. Is
>> there an easy way for me to translate this into an XSD-file for my
>> diagram? I suppose I could just write one from scratch, but it would
>> of course be a lot easier if there was some program/translator that
>> could do it for me :)
>>
>> Thanks,
>> Anna
>>
Previous Topic:XMI to XSD?
Next Topic:Generate XML File option missing
Goto Forum:
  


Current Time: Mon Sep 01 19:36:47 EDT 2014

Powered by FUDForum. Page generated in 0.01749 seconds