XML Schema XML Tutorial

You can  create custom user-defined data types  using the  definition: 
            final="#all or list or union or restriction"> 
To declare a , you must always base your declaration on an existing data type. 
The existing data type may be a built-in XML Schema data type or a custom datatype. 
definitions are often called derived types. 
There are three primary derived types: 
Restriction types 
List types 
Union types