extensibility

The Data Types Tab of the Advanced Pane


SOX and XSDL schemas allow users to define their own data types. These "derived" data types are created by constraining the set of distinct values available for existing data types, known as base types.    For example,  a user-defined data type called "newdt" requires the length of base type "uri" to be at least 7 characters, as depicted in Figure A.

User-defined data type

Figure A - User-Defined Data Type

Once a new data type is defined, it becomes a base type through which new data types can be derived (Figure B).

User-defined data type as base type

Figure B - User-defined data type as a base type

It also becomes an available choice in the Data Types pop-up menu (shown in Figure C) used when entering data types in the Element List or Attribute Types Pane.

Data Types Pop-Up Menu

Figure C - Data Types Pop Up Menu

A listing of XML Authority's base types for SOX and XSDL is presented below.  Keep in mind that your constraint options are dependent on the base type specified.   For more information on user defined data types see Schema for Objected Oriented XML 2.0 and XML Schema Datatypes.

 

XML Authority's Base Type Data Types for SOX XML Authority Base Type Data Types for XSDL
ID ID
IDREF IDREF
IDREFS IDREFS
NMTOKEN ENTITY
NMTOKENS ENTITIES
boolean NOTATION
string NMTOKEN
URI NMTOKENS
number string
float integer
double decimal
int boolean
long timeInstant
byte date
date time
time uri
datetime float
  double
  binary

 

Copyright 2000 Extensibility, Inc.

Suite 250, 200 Franklin Street, Chapel Hill, North Carolina 27516