Chapter 7 XML Languages Reference Guide


XML language properties

The XML language editor contains the following categories that include properties specific to each supported XML language:

Category Description
Settings Contains data type conversion tables
Generation Contains generation options, tasks and command scripts defined in the .XPL file
Profile Contains templates, stereotypes, extended attributes for generation
Transformation profile Contains a group of transformations used during model generation

An XML language has a property page available when you click the root node in the tree view of the XML language editor. It includes the following properties:

Property Description
Name Name of the XML language
Code Code of the XML language
File Name Path and name of the XML language file. This box is filled when the XML language is shared. If the XML language is a copy, the box is empty. You cannot modify the content of this box
Family Classification used to imply a certain behavior in the process model. In PowerDesigner, the family is used to enable certain features in the model, such features do not exist by default in the standard XML model
Subfamily Sub-classification that may be combined with the family classification to imply a certain behavior in the XML language
Enable Trace Mode Displays the generation templates used for the generated text in the Preview page of process property sheets
Comment Additional information about the XML language

Enable trace mode

The Enable Trace mode check box allows you to preview which templates are used during generation. Before starting the generation, click the Preview page of the object involved in the generation to see these templates, and click the Refresh tool to display these templates.

When you double-click on a trace line from the Preview page, the corresponding template definition is displayed in the XML language editor in the Profile\Object\Templates category where it is located. The code of the template may appear with distinct colors.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.