pub fn get_attribute<'a>( needle: &'a str, attributes: &'a [Attribute], ) -> Option<&'a Attribute>
Get the attribute matching needle name.