pub fn delete_attribute(self, gc_context: MutationContext<'gc, '_>, name: &WStr) {
        if let XmlNodeData::Element { attributes, .. } = &mut *self.0.write(gc_context) {
            attributes.remove(name);
        }
    }
/// Delete the value of a single attribute on this node.
///
/// If the node does not contain attributes, then this function silently fails.
Delete the value of a single attribute on this node.
If the node does not contain attributes, then this function silently fails.
Delete the value of a single attribute on this node . If the node does not contain attributes then this function silently fails .
pub fn delete_attribute(self, gc_context: MutationContext<'gc, '_>, name: &WStr) {
        if let XmlNodeData::Element { attributes, .. } = &mut *self.0.write(gc_context) {
            attributes.remove(name);
        }
    }
pub fn delete_attribute ( self , gc_context : MutationContext < ' gc , ' _ > , name : & WStr ) { if let XmlNodeData :: Element { attributes , .. } = & mut * self . 0 . write ( gc_context ) { attributes . remove ( name ) ; } }
Delete the value of a single attribute on this node.
Delete the value of a single attribute on this node .
self
gc_context
MutationContext<'gc, '_>
name
&WStr