Skip to main content

Module value

Module value 

Source
Expand description

XSD value types for typed atomic values

This module provides the XmlValue type for representing typed XSD values, integrating with the xsd-types crate for atomic value parsing and formatting.

§Design

  • XmlValue is a typed container for XSD values
  • XmlAtomicValue holds the actual parsed value
  • QName and NOTATION values use QualifiedName (namespace-resolved)
  • List values store sequences of atomic values with a known item type

Structs§

DateTimeValue
xs:dateTime value
DateValue
xs:date value
DayTimeDurationValue
xs:dayTimeDuration (XSD 1.1)
DurationValue
xs:duration value
GDayValue
xs:gDay value
GMonthDayValue
xs:gMonthDay value
GMonthValue
xs:gMonth value
GYearMonthValue
xs:gYearMonth value
GYearValue
xs:gYear value
TimeValue
xs:time value
TimezoneOffset
Timezone offset in minutes from UTC
XmlValue
A typed XSD value with type information.
YearMonthDurationValue
xs:yearMonthDuration (XSD 1.1)

Enums§

XmlAtomicValue
Atomic XSD value types
XmlValueKind
Value kind discriminant for XmlValue