Skip to main content

eval_range

Function eval_range 

Source
pub fn eval_range(
    start: &XmlValue,
    end: &XmlValue,
) -> Result<Vec<XmlValue>, XPathError>
Expand description

Evaluate an XPath range expression (expr to expr).

Per XPath 2.0 spec, both operands must be of type xs:integer. Non-integer types produce XPTY0004 type mismatch errors.