0

I'm trying to generate XSD files from a MOO file, but I don't obtain the complex types ("xs:complexType" in XSD files).

So I've generated a XML model (MSX) from the MOO file (by selecting Tools→Generate XML Model (Ctrl+Shift+M) to open the XML Model Generation Options Window), and then it's OK to obtain the complex types, but I don't obtain the "interfaces" objects.

Is there someone who could help me to generate theses "interfaces" objects, please ?

Regards, Cyrille

pascal
  • 3,287
  • 1
  • 17
  • 35
Cyrille
  • 1
  • 2
  • If I understand correctly the first part... initially, you did not have the classes generated as complex types, until you selected the `Generate Classes as: Elements with complex types`generation options. Correct? – pascal Mar 26 '15 at 15:02
  • Why do you want to generate `Interfaces`? To share Attribute, Property, Method? Could you use an Abstract class instead of an Interface? – pascal Mar 26 '15 at 15:05
  • More exactly : initially, I didn't have the classes generated as complex types, until I generated a MSX file + CTRL+G to generate the XSD file. – Cyrille Mar 27 '15 at 16:56
  • If I don't use a MSX file and if I change the current object langage to have a "XML - Schema langage" and if I use CTRL-G to generate the XSD files, then these XSD files don't have the "complex types". How bizarre... – Cyrille Mar 27 '15 at 17:00
  • And you're right; in theory, I don't need to generate Interfaces :) – Cyrille Mar 27 '15 at 17:01

0 Answers0