evaluate

Function evaluate 

Source
pub fn evaluate<'a, S: Into<String>>(
    search: S,
    doc: &'a Document,
    container: Option<&'a Node>,
) -> Result<ProduceIter<'a>>
Expand description

A simple Document evaluation fn.

Mainly defined for macros.

Allows for evaluating from the start of the Document or from a Node in the Document.