Type Support in the System.Xml Classes
In the .NET Framework version 2.0, the core XML classes have been enhanced to include type support features. The XmlReader, XmlWriter, and XPathNavigator classes include type support features including the ability to convert between XML Schema types and common language runtime (CLR) types.
The ReadContentAs and ReadElementContentAs and methods on the XmlReader class read a text value and convert it to a CLR value in a single method call.
In the .NET Framework version 1.0 the XmlConvert class was needed to convert between XML Schema and CLR types.
In This Section
Mapping XML Data Types to CLR Types
Describes the default mappings of XML data types to CLR types.
XML Type Support Implementation Notes
Discusses some of the type support implementation details.
Send feedback about: