Reverse engineering is the process of extracting an XML structure from an XML schema file into an XSM. You can reverse engineer XML schema files to create a new XSM or to add objects to an existing XSM.
or
To reverse engineer a schema into an existing XSM, open the model and select Language > Reverse Engineer schema File.
Option |
Description |
---|---|
Show symbols |
Creates symbols for the reversed objects in the diagram. You can specify to expand all the nodes, and to display elements, groups, and complex and simple types. |
Convert unique references to elements |
Transforms global objects that are referenced only once in the model into child objects. You can perform this conversion at any time by selecting Tools > Convert Unique References in the XML model. |
If you are reverse engineering to an existing XSM, then the Merge Models dialog box opens to allow you to control the merging of the new objects into your XSM (see Core Features Guide > Modeling with PowerDesigner > Comparing and Merging Models).
When the process is complete, a confirmation message is given in the Output window. The principal XML file is created, and a separate XSM is created for each file that is included or imported. Each import and include is created as an object in the appropriate model (see Instructions: Import, Include and Redefine (XSM)), and shortcuts are created to reference the elements, types, or other objects defined in the imported or included schemas.