create an xml file with nokogiri