Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » In memory Ecore model to XSD
icon5.gif  In memory Ecore model to XSD [message #655470] Mon, 21 February 2011 10:05 Go to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: February 2011
Junior Member
Hello,

I am new to EMF and what I need to achive follows in this order -

1) create in memory Ecore model
2) serialize the in memory model to an xsd
3) for the second run, I must be able to create the in memory ecore model from the xsd generated in step 2.

Can you please let me know if the features in EMF allow such a functionality? Please let me know on this.
Re: In memory Ecore model to XSD [message #655890 is a reply to message #655470] Wed, 23 February 2011 04:31 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020207000609090603030202
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Ramya,

Read these

Build metamodels with dynamic EMF
< http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava>
Binding XML to Java
< http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava>

You can look at EcoreSchemaBuilder as well.


ramya_rajendiran@yahoo.co.in wrote:
> Hello,
>
> I am new to EMF and what I need to achive follows in this order -
>
> 1) create in memory Ecore model
> 2) serialize the in memory model to an xsd 3) for the second run, I
> must be able to create the in memory ecore model from the xsd
> generated in step 2.
>
> Can you please let me know if the features in EMF allow such a
> functionality? Please let me know on this.

--------------020207000609090603030202
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ramya,<br>
<br>
Read these<br>
<blockquote><a target="_out"
href=" http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava">Build
metamodels with dynamic EMF</a><br>
<a target="_out"
href=" http://www.theserverside.com/tt/articles/article.tss?l=Bindi ngXMLJava">Binding
XML to Java</a><br>
</blockquote>
You can look at EcoreSchemaBuilder as well.<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ramya_rajendiran@yahoo.co.in">ramya_rajendiran@yahoo.co.in</a> wrote:
<blockquote cite="mid:ijtd26$f1k$1@news.eclipse.org" type="cite">Hello,
<br>
<br>
I am new to EMF and what I need to achive follows in this order -
<br>
<br>
1) create in memory Ecore model
<br>
2) serialize the in memory model to an xsd 3) for the second run, I
must be able to create the in memory ecore model from the xsd generated
in step 2.
<br>
<br>
Can you please let me know if the features in EMF allow such a
functionality? Please let me know on this. </blockquote>
</body>
</html>

--------------020207000609090603030202--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:empty SCA model as an output file
Next Topic:[MDT OCL] OCL and GMF interaction
Goto Forum:
  


Current Time: Thu Mar 28 23:24:28 GMT 2024

Powered by FUDForum. Page generated in 0.02277 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top