Import XSD

Return to Introduction  Previous page  Next page

The XML Schema Import facility is used to reverse engineer a W3C XML Schema (XSD) file as a UML Class model. An XSD file is imported into Enterprise Architect as a UML package. To import an XSD file, follow the steps below :

1.In the Project Browser window,  right-click on the package to contain the imported XSD package. The context menu displays.
2.Select the Code Engineering | Import XML Schema menu option. The Import XML Schema dialog displays.
3.In the Filename field, select the input file.
4.The Target Package field automatically defaults to the name of the selected input file. If required, change the name.
5.The Create Diagram for Target Package checkbox defaults to selected, to display the imported elements on the diagram. If necessary, deselect the checkbox.
6.Click on the Import button to import the schema.
7.The progress of the schema import is shown in the Progress status bar.

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