Generate XSD

Return to Introduction  Previous page  Next page

The Generate XML Schema feature forward engineers a UML Class model to a W3C XML Schema (XSD) file.  An XML schema corresponds to a UML package in Enterprise Architect, therefore XML schema generation is a package-level operation.  To generate an XML schema from a package, follow the steps below :

1.In the Project Browser window, right-click on the package to be converted to XSD. The context menu displays.
2.Select the Code Engineering | Generate XML Schema menu option.
3.In the Filename field, set the required output file.
4.In the Encoding field, set the required XML encoding.
5.Click on the Generate button to generate the schema.
6.The progress of the schema generator is shown in the Progress box.

Tip: The Generate XML Schema dialog can also be accessed from the active diagram by selecting the Project | XML Schema | Generate XML Schema menu option.