
Chapter 5 Generating and Reverse Engineering XML Schemas
Reverse engineering to a new XML model
You can reverse engineer XML schema files into a new XSM.
To reverse engineer an XSD, a DTD or an XDR file to a new XSM:
- Select File→Reverse Engineer→XML Definition to open the New XML Model dialog box:
- Select an XML language and specify whether you want to share the resource file or copy it to your model.
- [optional] Click the Extended Model Definitions tab, and select the extended model definitions you want to attach to the new model.
For more information on extended model definitions, see "Extended Model Definitions" in the Resource Files and the Public Metamodel chapter of Customizing and Extending PowerDesigner
.
- Click OK to go to the Reverse Engineering dialog:
- On the Options page, specify the file you want to reverse engineer, and select any appropriate options (see Reverse engineering options).
- [optional] Click the Target Models tab and specify any existing PowerDesigner models which are referenced in the file being reverse engineered. These references will become shortcuts in the reversed model.
- Click OK to begin reverse engineering.
The XML file is reversed into an XML model and displayed in the diagram window and the Browser. The result is also displayed in the Reverse page of the Output window.
Copyright (C) 2008. Sybase Inc. All rights reserved.
|
|