# Is it possible to render RXML partials in RHTML templates?

**URL:** <https://www.ruby-forum.com/t/is-it-possible-to-render-rxml-partials-in-rhtml-templates/70116>\
**Category:** Rails\
**Created:** [September 26, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-render-rxml-partials-in-rhtml-templates/70116 "2006-09-26T22:53:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [September 26, 2006, 10:53pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-render-rxml-partials-in-rhtml-templates/70116/1 "2006-09-26T22:53:18Z")

</div>

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
