[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Generating ERB templates with XMLBuilder

bryanl

3/7/2008 12:58:00 PM

Is it possible to get XMLBuilder to stop escaping entities for just
one tag?

I'm trying to generate an ERB template that generates XML:

xml.toys do
xml.toy do
xml.name "<%= name %>
end
end

The builder outputs the proper xml, but it escapes the template.