PowerDesigner provides a standard interface for generating all the supported XML schemas.
Select Language > Generateschema File to open the Generation dialog:
Enter a directory in which to generate the files and specify whether you want to perform a model check. For more information about checking your model, see Checking an XML Model.
Note:
When generating an XDR file, the Generation dialog contains an Options tab, where you can specify whether or not to generate comments (within a <description> tag). This option is enabled by default.
Click OK to begin generation.
A Progress box is displayed. The Result list displays the files that you can edit. The result is also displayed in the Generation tab of the Output window, located in the bottom part of the main window.
Click Edit to edit the XSD, DTD or XDR file in your associated editor:
Customizing XML Schema Generation
The PowerDesigner generation system is extremely customizable through the use of extended model definitions, profiles, and generation templates.