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

Table of Contents

Advertisement

Defining simple types

What is a simple type?

XSM User's Guide
You can only define simple types in a model targeted with XSD.
A simple type is a data type definition for elements or attributes with text-
only content.
A simple type cannot contain elements or attributes.
A simple type is defined by derivation of an existing simple type (built-in
data type or derived simple type).
There are three kinds of derivation for a simple type:
Type of derivation
Description
List
The simple type contains a white space-separated list of
values of an inherited simple type
Restriction
The simple type has a range of values restricted to a
subset of those of an inherited simple type
Union
The simple type contains a union of values of two or
more inherited simple types
For more information on simple type derivations, see section Defining
derivations.
Once defined in a model, a simple type can be reused in the definition of an
attribute, an element or a complex type.
Example of a simple type in a schema:
Chapter 2 Building an XML model
89

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Powerdesigner 11.1

Table of Contents