nokogiri xml file prototype