This documentation is archived and is not being maintained.

What's New in System.Xml 

The following System.Xml features are new in.NET Framework version 2.0.

New Model for XML Data Processing

The 2.0 release includes a new model for in-memory XML data processing. The XPathNavigator class has been updated to include editing capabilities. It can be used to modify data stored in the XmlDocument class.

For more information see Process XML Data Using the XPath Data Model.

New XSLT Processor

The XSLT architecture has been redesigned in the .NET Framework 2.0 release. The XslCompiledTransform class is the new XSLT processor. The XslCompiledTransform class includes many performance improvements and optimizations that that make it much faster than the obsolete XslTransform class.

For more information see XSLT Transformations.

Type Support

The XmlReader, XmlWriter, and XPathNavigator classes have been updated to include type support. New methods on these classes enable you return a node value as a common language runtime object.

For more information see Type Support in the System.Xml Classes.

New Model for Creating XmlReader and XmlWriter Objects

The static Create methods on the XmlReader and XmlWriter classes are the recommended practice for creating XmlReader and XmlWriter objects. The Create method allows you to specify the set of features that you want the XmlReader or XmlWriter object to support.

See Creating XML Readers and Creating XML Writers for more information.

Schema Inference

The class XmlSchemaInference class allows you to infer an XML Schema definition language (XSD) schema from the structure of an XML document.

For more information see Inferring an XML Schema.

See Also

Other Resources

XML Documents and Data