XML Schema Datatypes provides a useful library of built-in datatypes and a powerful facility for deriving your own from them. These datatypes can be used in XSDL schema definitions, in DTDs, and with non-XSDL schema languages.