Sybase PowerDesigner XML User Manual page 61

Table of Contents

Advertisement

Defining attributes
in XDR files
XSM User's Guide
Property
Description
Reference
Name of an attribute in the current model or another model
opened in the workspace. A reference allows you to reuse an
attribute with all its properties without having to define it
again. Use the dropdown listbox to select an attribute in the
current model. Use the Browse tool to select an attribute from
any model opened in the workspace. If you select an attribute
from another model, a shortcut is created with the referencing
attribute. When you define a reference, name and code
properties are grayed. The name and code are those of the
target attribute
Type
Attribute data type. It must be a qualified name (See
Glossary). Use the dropdown listbox to select a built-in data
type. Use the Browse tool to select a simple type defined in
the current model or another model opened in the workspace
Embedded Type
If selected, the attribute data type disappears and a <simple
type> tag is created in the schema within the <attribute> tag.
Only available in a model targeted with XSD
Derivation
Derivation method for the attribute data type. Used to extend
or restrict the values of the attribute data type. When you
define a derivation, the data type disappears. You must click
Apply and then the Properties tool to select a type, a base
type or member types for the corresponding derivation (list,
restriction or union). Only available in a model targeted with
XSD
In a model targeted with the XML-Data Reduced language, attributes tags are
defined by different attributes:
XDR attribute
for an attribute
Description
name
To specify the name of a global
attribute
default
To specify a default value for both
global and local attributes
dt:type
To specify a data type for a global
attribute
To specify a list of available
dt:values
values for a global attribute
To specify the name of a global
type
attribute as reference for a local
attribute
Chapter 2 Building an XML model
Property or page in
attribute property
sheet
Name
Detail page
Type
Values page
Reference
49

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PowerDesigner XML and is the answer not in the manual?

This manual is also suitable for:

Powerdesigner 11.1

Table of Contents