pub fn new_document_root(mc: MutationContext<'gc, '_>) -> Self {
        XmlNode(GcCell::allocate(
            mc,
            XmlNodeData::DocumentRoot {
                script_object: None,
                attributes_script_object: None,
                children: Vec::new(),
            },
        ))
    }
/// Construct a new XML root node.
Construct a new XML root node.
Construct a new XML root node .
pub fn new_document_root(mc: MutationContext<'gc, '_>) -> Self {
        XmlNode(GcCell::allocate(
            mc,
            XmlNodeData::DocumentRoot {
                script_object: None,
                attributes_script_object: None,
                children: Vec::new(),
            },
        ))
    }
pub fn new_document_root ( mc : MutationContext < ' gc , ' _ > ) -> Self { XmlNode ( GcCell :: allocate ( mc , XmlNodeData :: DocumentRoot { script_object : None , attributes_script_object : None , children : Vec :: new ( ) , } , ) ) }
Construct a new XML root node.
Construct a new XML root node .
mc
MutationContext<'gc, '_>