Saxon API for .NET |

# XsltCompiler Class

An `XsltCompiler` object allows XSLT 2.0 stylesheets to be compiled. The compiler holds information that represents the static context for the compilation.

For a list of all members of this type, see XsltCompiler Members.

System.Object
XsltCompiler

public class XsltCompiler

#### Remarks

To construct an `XsltCompiler`, use the factory method `NewXsltCompiler` on the `Processor` object.

An `XsltCompiler` may be used repeatedly to compile multiple queries. Any changes made to the `XsltCompiler` (that is, to the static context) do not affect queries that have already been compiled. An `XsltCompiler` may be used concurrently in multiple threads, but it should not then be modified once initialized.

#### Requirements

Namespace: Saxon.Api

Assembly: saxon8api (in saxon8api.netmodule)

#### See Also

XsltCompiler Members | Saxon.Api Namespace