I have question regarding render :text ... I read the conten of XML file
and display it using render :text ... but the content only is shown and
not the entire xml file ... How do I get the xml file display as xml
file in the output?


to state with an example the problem I have if the xml is
<animal>dog</animal> and I use render :text then output is only dog... I
want to output entire <animal>dog</animal>

Need help

Regards,
Sudhindra
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to