Xml templates...

Brian Candler B.Candler at pobox.com
Tue Sep 4 16:49:14 EDT 2007


On Tue, Sep 04, 2007 at 02:32:28PM -0600, Fernand Galiana wrote:
>    I was looking in using an xml_builder template to do something like:
>    blee.xerb
>    xml.blees do
>      <% for blee in @blees %>
>         xml.blee = [1]blee.name
>      <% end %>
>    end
>    It looks like the xml_builder template can't expand the erb tag.
>    It this not the correct way to expand and xml template ?

That's not xml_builder format, that's erb format.

I think someone else came across the same issue, see
http://merb.devjavu.com/projects/merb/ticket/162


More information about the Merb-devel mailing list