Conversion of XML Data Types
The majority of the methods found in an XmlConvert class are used to convert data between strings and strongly-typed formats. Methods are locale independent. This means that they do not take into account any locale settings when doing conversion.
The following sample reads a string and converts it to a DateTime type.
Given the following XML input:
This code converts the string to the DateTime format: