Compartilhar via


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 DTD. The .NET Compact Framework supports only XSD validation. You can set the ConformanceLevel when you create an XmlReader.

  • The XQuery language. However, the .NET Compact Framework 2.0 supports queries using XPath 1.0.

The .NET Compact Framework, like Windows 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 version 2.0 supports the static creation methods of an XmlWriter, except for WriteNode.

For information about improving performance in your XML programming, see the section "To Save Memory in XML" in How to: Improve Performance.

See Also

Other Resources

Data Access and XML Support