On Fri, Mar 20, 2009 at 7:44 AM, Sudhi Kulkarni <[email protected]> wrote:
> 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> You need to escape the angle brackets, e.g. <% @xml = "<animal>dog</animal>" %> <%=h @xml %> Try the above with and without the 'h'. -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

