Simple types (also called data types) constrain the textual values that may appear in an element or attribute.
The mechanisms available for restricting data types include the ability to specify minimum and maximum values, regular expressions, constraints on the length of strings, and constraints on the number of digits in decimal values.