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>>
Expect an opening tag <{key} name="…">
<{key} name="…">