|How to create one model from several XSDs? [message #986787]
||Wed, 21 November 2012 15:59
| Gunnar Arndt
Registered: June 2012
I have been using a set of interdependent Ecore models for a few months as a target of an ATL transformation, and I have run into a problem which cannot be solved in the more special ATL forum (previous discussion here).
There is an XML schema definition otx.xsd which imports several other XSDs, e.g. diagCom.xsd and hmi.xsd. I have imported otx.xsd as a source of an Ecore model, which resulted in the Ecore models otx, diagCom, and hmi to be created.
ATL does not seem to support containment references yet, but I need to be able to store elements from the imported sub-models (hmi and diagCom) in containers of the main model, otx.
Do you know a way to create one single model from the set of XSDs? Or can the created main Ecore model (otx) be changed somehow in order to import the sub-models automatically, so I can access them in ATL through the main model directly?
Thanks for your help in advance - I'm beginning to get nervous, as this is an project for one of the larger swabian automotive companies to be finished by the end of this year, and I'm currently working around the issue.
Powered by FUDForum
. Page generated in 0.04043 seconds