Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL]How to transform XML-Model (conformed to XSD-Metamodel) in ecore
[ATL]How to transform XML-Model (conformed to XSD-Metamodel) in ecore [message #540929] Thu, 17 June 2010 16:23
Alexey is currently offline AlexeyFriend
Messages: 61
Registered: January 2010
Member
Hello!

I get as a prepared input - two files - metamodel.xsd and its conformed model model.xml. They are both pretty large.

Now, I need to integrate these BOTH (!) files in my Eclipse ATL-project. They will be a part of Input for my ATL-transformation.

I found, how to make an ecore from an XSD (due to the help in this forum). Its described here:
http:// help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.emf.d oc/tutorials/xlibmod/xlibmod.html

Ok, XSD2ECORE is done.

But! I have this model.XML. And I cant get it transformed in ecore (or xmi). The AM3-injector gives errors back.

And this link:
http://www.theserverside.com/news/1364302/Binding-XML-to-Jav a

has neither solution for that.

Please, does anyone know, how to make an ecore from an xml?
I cant beleive it is so big problem...

Thanks,
Alexey

[Updated on: Thu, 17 June 2010 16:24]

Report message to a moderator

Previous Topic:XtendParser
Next Topic:[ATL] Multiple output files and inter-model references
Goto Forum:
  


Current Time: Sun Nov 23 04:50:46 GMT 2014

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

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