pub fn try_data<'a, 'inp>(
    tokens: &'a mut impl Iterator<Item = Result<(Token<'inp>, Depth), XmlError>>
) -> Result<Cow<'inp, str>, XmlError>
Expand description

Returns the data element at the current position

If the current position is not a data element (and is instead a ) an error will be returned