Saxon API for .NET |

# XPathExecutable Class

An `XPathExecutable` represents the compiled form of an XPath expression. To evaluate the expression, it must first be loaded to form an `XPathSelector`.

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

System.Object
XPathExecutable

public class XPathExecutable

#### Remarks

An `XPathExecutable` is immutable, and therefore thread-safe. It is simplest to load a new `XPathSelector` each time the expression is to be evaluated. However, the `XPathSelector` is serially reusable within a single thread.

An `XPathExecutable` is created by using one of the `Compile` methods on the `XPathCompiler` class.

#### Requirements

Namespace: Saxon.Api

Assembly: saxon8api (in saxon8api.netmodule)

#### See Also

XPathExecutable Members | Saxon.Api Namespace