Defining Complex Types; What Is A Complex Type - Sybase PowerDesigner XML User Manual

Table of Contents

Advertisement

Defining complex types

Defining complex types

What is a complex type?

92
You can only define complex types in a model targeted with XSD.
A complex type is a data type definition used to define attributes and child
elements of a parent element. It is a template for a data type definition that
can be reused and derived by extension or restriction.
A complex type has a global scope when it has no parent element in the
diagram and when it is directly linked to the <schema> tag. It can then be
reused or derived, by extension or restriction, in other parts of the schema.
It has a local scope when integrated into an <element> tag. It applies only to
its containing element.
Example of a complex type in a diagram:
HighDefinition is a global complex type, reused as data type for the
deluxeTV element.
Generated schema:
PowerDesigner

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerdesigner 11.1

Table of Contents