This documentation is archived and is not being maintained.

Using the XslCompiledTransform Class

The XslCompiledTransform class is the Microsoft .NET Framework XSLT processor. This class is used to compile style sheets and execute XSLT transformations.


Although the overall performance of the XslCompiledTransform class is better than the XslTransform class, the Load method of the XslCompiledTransform class might perform more slowly than the Load method of the XslTransform class the first time it is called on a transformation. This is because the XSLT file must be compiled before it is loaded. For more information, see the following blog post: XslCompiledTransform Slower than XslTransform?

Inputs to the XslCompiledTransform Class

Describes the available XSLT input options.

Output Options on the XslCompiledTransform Class

Describes the available XSLT output options.

Resolving External Resources During XSLT Processing

Discusses using the XmlResolver class to resolve external resources.

Extending XSLT Style Sheets

Discusses how XSLT extensions are supported.

Recoverable XSLT Errors

Lists discretionary behaviors allowed by the World Wide Web Consortium (W3C) XSLT 1.0 recommendation and describes how these behaviors are handled by the XslCompiledTransform class.

How to: Transform a Node Fragment

Describes how to transform a node fragment.

Security and Your System.Xml Applications

Discusses security issues when working with XML technologies

Migrating From the XslTransform Class

Discusses how to migrate code from the XslTransform class