PhoenixmlDb.XDM

PhoenixmlDb.Xdm API Reference

API documentation for the PhoenixmlDb.Xdm library

#PhoenixmlDb.Xdm API Reference

This reference is auto-generated from the .NET XML documentation for the PhoenixmlDb.Xdm assembly.

#PhoenixmlDb.Xdm

Type Description
DayTimeDuration Represents an xs:dayTimeDuration value as total seconds (decimal). Unlike TimeSpan, this handles arbitrarily large durations (e.g., P1234567890D).
NamespaceBinding A namespace prefix binding.
TextNodeItem Lightweight text node marker for sequence accumulators. Distinguishes text nodes (from xsl:text, xsl:value-of, literal text) from atomic string values (from xsl:sequence, XPath expressions). Used for correct XSLT 3.0 §5.7.2 simple content construction.
XdmQName Represents an expanded QName (namespace URI + local name).
XdmType XDM atomic value types based on XML Schema.
XdmTypeName Represents a type name (for type annotations).
XdmValue Represents an XDM atomic value.
XsAnyUri Wrapper type for xs:anyURI values. Implements IConvertible so it can participate in string operations.
XsDate Represents an xs:date value with optional timezone. Unlike DateOnly, this preserves timezone offset information.
XsDateTime Represents an xs:dateTime value with explicit timezone tracking. Unlike DateTimeOffset, this distinguishes "no timezone" from UTC.
XsDuration Represents an xs:duration value with both month and day-time components. Unlike TimeSpan (which only has day-time), this preserves the year/month facets.
XsGDay XSD xs:gDay value (e.g. "---25").
XsGMonth XSD xs:gMonth value (e.g. "--12").
XsGMonthDay XSD xs:gMonthDay value (e.g. "--12-25").
XsGYear XSD xs:gYear value (e.g. "2005").
XsGYearMonth XSD xs:gYearMonth value (e.g. "2005-10").
XsTime Represents an xs:time value with optional timezone and fractional seconds. Unlike TimeOnly, this preserves timezone offset information.
XsUntypedAtomic Wrapper type for xs:untypedAtomic values, distinguishing them from xs:string. Implements IConvertible so it can participate in arithmetic and comparisons.
YearMonthDuration Represents an xs:yearMonthDuration value as a count of months. Unlike TimeSpan, this correctly supports month-based date arithmetic.

#PhoenixmlDb.Xdm.Nodes

Type Description
XdmAttribute Represents an XML attribute.
XdmComment Represents an XML comment.
XdmDocument Represents an XML document root.
XdmElement Represents an XML element.
XdmNamespace Represents an in-scope namespace binding on an element. These are typically not stored separately but computed from element declarations.
XdmNode Base type for all XDM nodes.
XdmProcessingInstruction Represents an XML processing instruction.
XdmText Represents character data content.

#PhoenixmlDb.Xdm.Parsing

Type Description
ParseResult Result of parsing an XML document.
XmlDocumentParser Parses XML content into XDM nodes.
XmlSerializer Serializes XDM nodes to XML.