Walter McGinnis wrote:
> 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

Hi cheers,

I m using Builder for Nokogiri (Nokogiri::XML::Builder.new).
But i m facing problem with displaying XML file in view.

see the code i have used http://pastie.org/663424.
http://nokogiri.rubyforge.org/nokogiri/Nokogiri/XML/Builder.html

Please give me guide for displaying XML file.




-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to