The XML schema language has over 40 built-in datatypes, including numeric, string, time, XML, and binary. These datatypes are called simple types. They contain text but no other elements and attributes. You can derive new simple types from the basic XML simple types.
You can create complex XML datatypes. A complex datatype is a datatype that contains more than one simple type. A complex datatype can also contain other complex types and attributes.