Changing the XML Language

You can change the XML language being modeled in your XSM at any time.

Simple types and complex types are only supported by XSDs (schemas). When changing an XSD into a DTD or an XDR, simple types and global complex types (directly linked to the <schema> tag) disappear from the diagram and the Browser tree view. Local complex types (within an element) are expanded in the diagram, beneath their containing element. In this example, HighDefinition is a global complex type, reused as data type for the deluxeTV element:
  • In the model with target XSD:



  • The model target is changed to DTD or XDR:



Note: You may be required to change the XML language if you open a model and the associated definition file is unavailable.
  1. Select Language > Change Current Language:

    Change XSM Target
  2. Select a XML language from the list.

    By default, PowerDesigner creates a link in the model to the specified file. To copy the contents of the resource and save it in your model file, click the Embed Resource in Model button to the right of this field. Embedding a file in this way enables you to make changes specific to your model without affecting any other models that reference the shared resource.

  3. Click OK.

    A message box opens to tell you that the XML language has been changed.

  4. Click OK to return to the model.