pub fn attribute_value_ignore_case(self, name: &WStr) -> Option<AvmString<'gc>> {
        match &*self.0.read() {
            XmlNodeData::Element { attributes, .. } => attributes
                .iter()
                .find(|(k, _)| k.eq_ignore_case(name))
                .map(|(_, v)| *v),
            _ => None,
        }
    }
/// Retrieve the value of a single attribute on this node, case-insensitively.
///
/// TODO: Probably won't need this when we have a proper HTML parser.
Retrieve the value of a single attribute on this node, case-insensitively.
TODO: Probably won't need this when we have a proper HTML parser.
Retrieve the value of a single attribute on this node case - insensitively . TODO : Probably won ' t need this when we have a proper HTML parser .
pub fn attribute_value_ignore_case(self, name: &WStr) -> Option<AvmString<'gc>> {
        match &*self.0.read() {
            XmlNodeData::Element { attributes, .. } => attributes
                .iter()
                .find(|(k, _)| k.eq_ignore_case(name))
                .map(|(_, v)| *v),
            _ => None,
        }
    }
pub fn attribute_value_ignore_case ( self , name : & WStr ) -> Option < AvmString < ' gc > > { match & * self . 0 . read ( ) { XmlNodeData :: Element { attributes , .. } => attributes . iter ( ) . find ( | ( k , _ ) | k . eq_ignore_case ( name ) ) . map ( | ( _ , v ) | * v ) , _ => None , } }
Retrieve the value of a single attribute on this node, case-insensitively.
Retrieve the value of a single attribute on this node case - insensitively .
self
name
&WStr