Share via


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

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.

See Also

Reference

XsltSettings

XsltMessageEncounteredEventArgs