What is the best way to translate an EMF model to a standard w3c XML model

DiodiaMoows

New Member
I have an Ecore- EMF model that is specified in a few Ecore XSD files and I have another model, that is specified in standard XSD files. I want to translate the Ecore instance into an instance of the standard xml model. The don't have the same name, so I need a translation map for that. The problem I guess is, that the Ecore Model instance is separeted into a few files, which have "EReferences" to each other.What is the best way to perform this translation? What I have done so far is, that I used the xsd compiler from codesynthesis to create parseable c++ classes from the standard XSD model, as well as the Ecore model, but I ended up with the resolving of the ECore EReferences. Maybe c++ is not the best way to perform this translation and I'm willing to use another language, if possibleAny help would be great, cause this is really driving me nuts... Thx
 
Back
Top