On Thu, Oct 22, 2009 at 10:32 AM, Robert Walker <[email protected]> wrote: > > Ghanshyam Rathod wrote: >> Can you guys give me some idea about how to Create XML file using >> Nokogiri gem. > > I could be wrong, but isn't Nokogiri used for parsing and searching XML? > I think you should be using Builder for creating XML documents:
Nokogiri includes a builder mechanism, too. Here's some example code Ghanshyam: http://github.com/kete/kete/blob/master/lib/workers/excel_based_importer_worker.rb # starting at line 56 Cheers, Walter Kete Project Lead --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

