xmlparsingxsdenterprise-architectcomplextype

Complex Type Ordering in Enterprise Architect Sparx Systems


I am running into an issue in Enterprise Architect 16.1. I need to be able to out output an xsd from a very complex garden of eden style UML model with the complex types maintaining a strict parsing order, not alphabetical order. How do I do that? The tree which populates the model/diagram always reverts to alphabetical order?

I am new to both Enterprise-Architect (16.1) and generating artifacts directly from a UML model. The data governance procedures I work with require this strict xsd parse ordered complex type ordering come directly from the UML model output, not via a script, XSLT, or any other process in-between the xsd output and the UML model. Has anyone been able to successfully enforce specific complex type ordering in Enterprise Architect 16.1 directly from the UML diagram?


Solution

  • @Geert Bellekens, to be honest, I don't know where the actual setting exists in the UI. I tried to move the element order around (right click on a specific element, then use the move up or move down options) within the Feature box and a prompt box opened up telling me element ordering was set to alphabetical. It asked me if I wanted to turn that option off. I clicked yes, and it let me move the elements around as needed. That single option change resolved all my "garden of Eden" style complex type ordering issues.

    enter image description here