Hi,
I have following class diagramm
Following xsd schema have been generated From this classes
classDiagram.JPG
But there are some problems:
- “Child” must be “Complex Type”
- For list of child i want to generate
<xs:complexType name=“ArrayOfChild”> - is expected to be generated for each Complex Type:
For example:
<xs:element name=“Child” nillable=“true” type=“Child” />
<xs:element name=“ArrayOfChild” nillable=“true” type=“ArrayOfChild” />
<xs:element name=“Main” nillable=“true” type=“Main” />
Generated and correct xsd schema files are in attachments.
Thanks.
classDiagram.JPG
TestXSD.rar