Construct an atomic value of a given built-in or user-defined type
SchemaManager
.Processor
object. This is needed for looking up user-defined
types, and also because some conversions are context-sensitive, for example they depend on the
implicit timezone or the choice of XML 1.0 versus XML 1.1 for validating names.Exception Type | Condition |
---|---|
Thrown if the type is unknown or unsuitable, or if the supplied string is not a valid lexical representation of a value of the given type. |
AtomicValue("abcd", QName.XDT_UNTYPED_ATOMIC)
creates an untyped atomic value containing the string "abcd"
XdmAtomicValue Class | Saxon.Api Namespace | XdmAtomicValue Constructor Overload List