Displaying 1 result from an estimated 1 matches for "parent_xml".
2006 Dec 12
2
RXML partial question
All,
I have a RXML template which renders partial RXML templates within it.
A snippet is below. The "xml" variable is the parent template''s Builder
variable. It is passed into the partial under the name "parent_xml".
Why can''t I use :locals => {.... :xml => xml ....} in my call to render
the partial? It seems like if I do use :xml => xml, it doesn''t work,
and I am forced to pass into a local variable with a name other than
"xml", for example, "parent_xml"....