Ghanshyam Rathod wrote: > 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.
Are you already using Nokogiri in other parts of your application? If not then why force the dependency on it just to render that tiny bit of XML? The built-in XML Builder would work just fine for that. > http://nokogiri.rubyforge.org/nokogiri/Nokogiri/XML/Builder.html > > Please give me guide for displaying XML file. Can you clarify? Do you mean that you're having trouble rendering the XML response? Displaying XML doesn't make a lot of sense. Browsers render HTML/XHTML not XML (well okay some browsers do as a convenience for development, but that's not intended for "normal" web use). -- 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 -~----------~----~----~----~------~----~------~--~---

