pub fn node_value(self) -> Option<AvmString<'gc>> {
        match &*self.0.read() {
            XmlNodeData::Text { ref contents, .. } => Some(*contents),
            _ => None,
        }
    }
/// Returns the string contents of the node, if the element has them.
Returns the string contents of the node, if the element has them.
Returns the string contents of the node if the element has them .
pub fn node_value(self) -> Option<AvmString<'gc>> {
        match &*self.0.read() {
            XmlNodeData::Text { ref contents, .. } => Some(*contents),
            _ => None,
        }
    }
pub fn node_value ( self ) -> Option < AvmString < ' gc > > { match & * self . 0 . read ( ) { XmlNodeData :: Text { ref contents , .. } => Some ( * contents ) , _ => None , } }
Returns the string contents of the node, if the element has them.
Returns the string contents of the node if the element has them .
self