expect_named_elem

Function expect_named_elem 

Source
pub fn expect_named_elem<B: BufRead>(
    xml: &mut Reader<B>,
    buf: &mut Vec<u8>,
    key: &'static str,
    parent: Option<&'static str>,
) -> Result<Option<String>>
Expand description

Expect an opening tag <{key} name="…">