Defining elements

The element symbol appears in the diagram with the attribute name. In the example, <None> indicates that no data type has been defined for the attribute.

Modifying element display preferences

You can modify the following display preferences for an element by selecting

ToolsDisplay Preferences:

Preference

Description

Attributes

Displays attributes and attribute values of the element

Display limit

Maximum number of attributes displayed

Stereotype

Displays the stereotype of the element

Type

Displays the data type of the element

Show XPath

An XPath expression indicates the relationship between an

 

element and the root element (<schema> tag). Select Never,

 

if you do not want the elements XPath expressions to be

 

displayed. Select Always, if you want all the elements to

 

have their XPath expression displayed. Select Root symbol,

 

if you only want the root symbols (global elements in the

 

main diagram or parent elements in partial diagrams) to

 

have their XPath expression displayed

Element Attributes

Select Type, if you want the attributes data types to be

 

displayed

 

 

For more information on XPath expressions, see section Defining an identity constraint selector.

Linking child elements to a parent element

An element composed of other elements is a parent element with child elements.

52

PowerDesigner

Page 64
Image 64
Sybase XML manual Modifying element display preferences, Linking child elements to a parent element, Preference Description