Nokogiri XML parsing. Custom conversion from XML to CSV.