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 menu option. The Import XML Schema dialog displays. |
3. | In the field, select the input file. |
4. | The field automatically defaults to the name of the selected input file. If required, change the name. |
5. | The checkbox defaults to selected, to display the imported elements on the diagram. If necessary, deselect the checkbox. |
6. | Click on the button to import the schema. |
7. | The progress of the schema import is shown in the status bar. |
Tip: The Import XML Schema dialog can also be accessed for the active diagram by selecting the menu option.