Sybase PowerDesigner XML User Manual page 51

Table of Contents

Advertisement

Defining elements
in XDR files
XSM User's Guide
In a model targeted with the XML-Data Reduced language, elements are
defined by different attributes:
XDR attribute
for an element
Description
To specify if a global element can
Model
contain new local elements. Set to
closed by default. Set to open if an
Any symbol is attached to the element
symbol
To specify the content of a global
Content
element. If a group particle and a data
type are defined, the content value is
mixed. If a group particle and no data
type is defined, the content value is
eltOnly. If no group particle and a
data type is defined, the content value
is textOnly. If no group particle or
data type is defined, the content value
is empty
To specify how local elements are
Order
organized within a global element.
Set to seq for a sequence group
particle. Set to one for a choice group
particle. Set to many for an All group
particle
dt:type
To specify a data type for a global
element
To specify a list of available values
dt:values
for a global element
To specify the name of a global
type
element as reference for a local
element
To specify the minimum number of
minOccurs
occurrences for a local element.
Usually set to 0 or 1
To specify the maximum number of
maxOccurs
occurrences for a local element.
Usually set to 1 or * (unbounded)
Chapter 2 Building an XML model
Property or page
in element
property sheet
Group type, Type
Group type
Type
Values page
Reference
Detail page in local
element property
sheet
Detail page in local
element property
sheet
39

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