XSLT Transformations

The Extensible Stylesheet Language Transformation (XSLT) lets you transform the content of a source XML document into another document that is different in format or structure. For example, you can use XSLT to transform XML into HTML for use on a Web site or to transform it into a document that contains only the fields required by an application. This transformation process is specified by the W3C XSL Transformations (XSLT) Version 1.0 recommendation located at www.w3.org/TR/xslt.

The XslCompiledTransform class is the XSLT processor in the .NET Framework. The XslCompiledTransform class supports the W3C XSLT 1.0 recommendation.


The XslTransform class is obsolete in .NET Framework version 2.0. The XslCompiledTransform class is a new implementation of the XSLT engine. It includes performance improvements and new security features. The recommended practice is to create XSLT applications using the XslCompiledTransform class.

Using the XslCompiledTransform Class

Provides information on using the XslCompiledTransform class.

Migrating From the XslTransform Class

Discusses how to migrate code from the XslTransform class.

XSLT Security Considerations

Discusses XSLT security issues.

XSLT Compiler (xsltc.exe)

Provides information on using the XSLT compiler.

XSLT Transformations with the XslTransform Class

Provides information on using the XslTransform class.

Note   The XslTransform class is obsolete in the .NET Framework 2.0 release.