xee_xpath/
context.rs

1//! Context in order to construct and execute XPath queries.
2//!
3//! In order to construct an XPath query, you need a [`StaticContext`], which
4//! has enough information to compile it.
5//!
6//! The higher level APIs in this crate create these contexts for you, but if
7//! you need custom namespaces or variables in your XPath expressions,
8//! you need to build the context.
9//!
10//! In order to execute an XPath query, you need to create a
11//! [`DynamicContext`], which has enough information to execute it.
12//!
13//! Builder APIs are provided which you need to use in order to create
14//! [`StaticContext`] and [`DynamicContext`].
15
16pub use xee_interpreter::context::{
17    DynamicContext, DynamicContextBuilder, StaticContext, StaticContextBuilder, Variables,
18};
19pub use xee_interpreter::string::Collation;