PhoenixmlDb.Core

XdmType

Enumeration of XDM atomic value types, corresponding to the XML Schema (XSD) type hierarchy.

#XdmType

Namespace: PhoenixmlDb.Xdm

Enumeration of XDM atomic value types, corresponding to the XML Schema (XSD) type hierarchy.

Each value in this enum corresponds to a built-in type from the XML Schema Definition (XSD) specification. The type hierarchy is preserved: for example, XdmType.XsInteger is a subtype of XdmType.XsDecimal, and XdmType.NCName is a subtype of XdmType.Name.

These types are used by XdmValue to tag atomic values with their XSD type, enabling type-aware comparisons, arithmetic, and casting as defined by the XPath/XQuery Functions and Operators specification.

The numeric values are grouped by category (strings 1-10, numerics 20-35, date/time 40-51, other 60-65, XQuery 3.1 additions 80-82) for efficient range checks.