cravan371/xpath-evaluator/value does not have a README file

    NodeSet

    Immutable, duplicate-free nodes from exactly one document, exposed in document order.

    NodeSet::document

    Document that owns every identity in this set.

    NodeSet::first

    First node in document order.

    NodeSet::length

    fn NodeSet::length(self : NodeSet) -> Int

    Number of nodes.

    NodeSet::new

    Normalize arbitrary node identities into a single-document XPath node-set.

    NodeSet::nodes

    Owned node identities in document order.

    XPathValue

    pub(all) enum XPathValue {
    Nodes(NodeSet)
    Boolean(Bool)
    Number(Double)
    String(String)
    }

    The four XPath 1.0 value categories.

    XPathValue::to_boolean

    fn XPathValue::to_boolean(self : XPathValue) -> Bool

    Apply the XPath 1.0 boolean conversion.

    XPathValue::to_number

    Apply the XPath 1.0 number conversion.

    XPathValue::to_xpath_string

    Apply the XPath 1.0 string conversion.