Atomic values

An atomic value is an instance of one of the built-in atomic data types that are defined by XML Schema.

These data types include strings, integers, decimals, dates, and other atomic types. These types are described as "atomic" because they cannot be subdivided. Some atomic types have literal values. For example, the following literals are atomic values:
  • "this is a string"
  • 45
  • 1.44
Other atomic types have constructor functions to build atomic values out of strings. For example, the following constructor function builds a value of type xs:decimal out of the string "12.34":
xs:decimal("12.34")