Simple Types (XSM)

A simple type is a data type definition defined by derivation of an existing simple type (built-in data type or derived simple type). It can be used by elements or attributes with text-only content; it cannot contain elements or attributes. You can only create simple types in a model targeting XSD.

There are three kinds of derivation for a simple type:

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: