Move REXML::Document.new to get_data