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.

Note

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?

In This Section

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.

Article Description
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.

Migrating From the XslTransform Class
Discusses how to migrate code from the XslTransform class

See also