pub fn attribute_value(self, name: &WStr) -> Option<AvmString<'gc>> {
        match &*self.0.read() {
            XmlNodeData::Element { attributes, .. } => attributes.get(name).copied(),
            _ => None,
        }
    }
/// Retrieve the value of a single attribute on this node.
///
/// If the node does not contain attributes, then this function always
/// yields None.
Retrieve the value of a single attribute on this node.
If the node does not contain attributes, then this function always
yields None.
Retrieve the value of a single attribute on this node . If the node does not contain attributes then this function always yields None .
pub fn attribute_value(self, name: &WStr) -> Option<AvmString<'gc>> {
        match &*self.0.read() {
            XmlNodeData::Element { attributes, .. } => attributes.get(name).copied(),
            _ => None,
        }
    }
pub fn attribute_value ( self , name : & WStr ) -> Option < AvmString < ' gc > > { match & * self . 0 . read ( ) { XmlNodeData :: Element { attributes , .. } => attributes . get ( name ) . copied ( ) , _ => None , } }
Retrieve the value of a single attribute on this node.
Retrieve the value of a single attribute on this node .
self
name
&WStr