Thanks Brian - Well erb sure but I still would like to get the xml builder object<br>bound to the template. That&#39;s the essence of my question ie being able to embed<br>erb tag within my xml template.<br><br>-Fernand<br>
<br><br><br><div><span class="gmail_quote">On 9/4/07, <b class="gmail_sendername">Brian Candler</b> &lt;<a href="mailto:B.Candler@pobox.com">B.Candler@pobox.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Sep 04, 2007 at 02:32:28PM -0600, Fernand Galiana wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;I was looking in using an xml_builder template to do something like:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;blee.xerb<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;xml.blees do<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;% for blee in @blees %&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xml.blee = [1]blee.name<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;% end %&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;end<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;It looks like the xml_builder template can&#39;t expand the erb tag.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;It this not the correct way to expand and xml template ?
<br><br>That&#39;s not xml_builder format, that&#39;s erb format.<br><br>I think someone else came across the same issue, see<br><a href="http://merb.devjavu.com/projects/merb/ticket/162">http://merb.devjavu.com/projects/merb/ticket/162
</a><br></blockquote></div><br>