Prev Next

Generate Global Element

Enterprise Architect, by default, generates XML Schema in the Garden of Eden style. For every global XSDcomplexType stereotyped Class, the system generates a global element.

Example

You can change the above specified default behavior by de-selecting the 'Generate global element for all global ComplexTypes' checkbox on the 'Generate XML Schema' dialog. Then, the generated XSD no longer contains the global element; that is, it no longer has the lines:

  • <xs:element name="ContactInfo" type="ContactInfo"/> and
  • <xs:element name="Person" type="Person"/>

Learn more