Is it possible to render RXML partials in RHTML templates?

I have a RHTML template and I would like the output of a RXML partial to
be embedded within it.

When I do <%= render(:partial => ‘list_edit’) %> where there exists a
_list_edit.rmxl file, I get XML parsing errors in the browser - I
believe because the partial is causing the rendered content to be
identified as XML instead of HTML.

Is there any way to “pre-render” the RXML (which will simply output HTML
anyway), so that I can take advantage of it as a partial?

Thanks,
Wes

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs