Create write_xml.rb