xrust 1.2.4

Support for XPath and XSLT
Documentation
1
2
3
4
5
6
7
/*! Defines interfaces for closures and functions that are used to communicate with external processes.
*/

use crate::xdmerror::Error;

/// Resolves a URL, given as a base URI and a relative URL, and returns the content of the resource as a string.
pub(crate) type URLResolver = fn(Option<String>, String) -> Result<String, Error>;