How to convert ecore (EMF) to xsd
Asked Answered
A

2

5

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

Anuran answered 13/4, 2011 at 5:15 Comment(2)
Have you seen this? #672055Cobbie
yes, but I need reverse convertionAnuran
S
8

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.

Synovia answered 13/4, 2011 at 12:12 Comment(0)
G
2

In Eclipse, when only EMF SDK is installed, you may not be able to see the model exporter for "XML Schema". (On my side, only "UML model" is visible).

Use an update site with EMF repository. Install the XSD features then the exporter would appear.

Gottlieb answered 22/8, 2014 at 17:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.