Reputation: 342
I'm not sure that my question is correct from EMF expert point of view. I investigate the problem
My goal is convert xml domain model to EMF domain model description, then generate genmodel file and then generate domain model as set of Java classes. how to convert xml domain model to EMF domain model description automatically? I found easy way to create ecore file from xsd. Are the any way to load my xml file using ecore description and save it as EMF like model for genearting Java class as next step
Thank you in advance Alexander
Upvotes: 0
Views: 526
Reputation: 176
As you yourself found out, you need to crate emf model out of schema. Steps which I could immediately think of
Now your xml file is loaded into emf model and displayed in editor. Now its your task to build your own UI based on your customer needs using the emf model.
Please note that you can always update the schema file, generate ecore file, update the existing model. Let me know if you need some more information.
Upvotes: 1