PhoenixmlDb.Core
XdmValue
Represents an XDM atomic value — a typed, immutable value from the XPath/XQuery type system.
#XdmValue
Namespace: PhoenixmlDb.Xdm
Represents an XDM atomic value — a typed, immutable value from the XPath/XQuery type system.
XdmValue pairs a CLR value (boxed in ) with an tag that identifies its XSD type. This enables type-aware operations such as comparisons, arithmetic, and casting as defined by the XPath/XQuery Functions and Operators specification. Construction: Use the static factory methods (, , , , etc.) to create values. These ensure the correct tag is applied. Access: Use the typed accessor methods (, , , , etc.) to extract the value. These perform type coercion following XPath casting rules and throw for incompatible types. Equality: Two values are equal if and only if they have the same and the same underlying value.
#Properties
| Name | Description |
|---|---|
RawValue
|
Gets the raw value object. |