Search code examples
eclipsepluginsxsdeclipse-emfeclipse-emf-ecore

How to convert ecore (EMF) to xsd


What is the best way to convert .ecore-files into .xsd-files?


Solution

  • You need to have the feature XSD Ecore Converter installed (it's part of the EMF project).

    Then you can open the context menu on your ecore's generator model (extension .genmodel) and select Export Model. It should offer you now to export the ecore to XML schema.