XML Support
The .NET Compact Framework provides basic XML functionality, including the XML Document Object Model (DOM). To save space on the device, the following XML components are not supported:
The XmlDataDocument class.
Extensible Stylesheet Language Transformation (XSLT).
Validating entity references on an applied document type definition (DTD). The .NET Compact Framework supports only XML Schema (XSD) validation. You can set the ConformanceLevel when you create an XmlReader.
The XQuery language. However, the .NET Compact Framework supports queries using XPath 1.0.
The .NET Compact Framework, like Windows Embedded CE, does not support relative paths with the file:// URI scheme. Specify absolute path information when using the overloads of the ReadXml method that take the file name as a string parameter.
The .NET Compact Framework supports the static creation methods of an XmlWriter, except for WriteNode(XPathNavigator, Boolean).
For information about improving performance in your XML programming, see the section "To Save Memory in XML" in How to: Improve Performance.