Xml templates...

Fernand Galiana fernand.galiana at gmail.com
Tue Sep 4 17:37:02 EDT 2007


Thanks Brian - Well erb sure but I still would like to get the xml builder
object
bound to the template. That's the essence of my question ie being able to
embed
erb tag within my xml template.

-Fernand



On 9/4/07, Brian Candler <B.Candler at pobox.com> wrote:
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070904/48283d27/attachment.html 


More information about the Merb-devel mailing list