Todd Fox wrote:
> sorry more info on what it's used for would help, the xml is being read 
> by google maps api so we can load html code inside the popup bubble.
> 
> so yeah we dont really control the consuming end :(

It seems to me, then, that you have two good options.  Either use ERb 
and/or Builder to put the HTML in the XML DOM, or (if the HTML has to be 
a string) use a CDATA section.  Don't make your life harder with all 
those &entities;.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
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