# Package net.sf.saxon.sxpath

This package originally provided an alternative API for executing XPath expressions directly from a Java application. It is no longer recommended for application use, but is still used internally to underpin the public JAXP and s9api APIs.

The preferred API for executing XPath expressions in Saxon is the `s9api` package. This package is older, and provides a lower-level interface that offers access to more internal details, but is not so convenient to use.

- Interface Summary
  Interface | Description
  --- | ---
  XPathStaticContext | This interface defines methods that must be provided when Saxon's free-standing XPath API is used.

- Class Summary
  Class | Description
  --- | ---
  AbstractStaticContext | An abstract and configurable implementation of the StaticContext interface, which defines the static context of an XPath expression.
  IndependentContext | An IndependentContext provides a context for parsing an XPath expression appearing in a context other than a stylesheet.
  XPathDynamicContext | This object represents the dynamic XPath execution context for use in the free-standing Saxon XPath API.
  XPathEvaluator | This class provides a native Saxon API for free-standing evaluation of XPath expressions.
  XPathExpression | This class is a representation of an XPath Expression for use with the `XPathEvaluator` class.
  XPathVariable | An object representing an XPath variable for use in the standalone XPath API.