DB to XML to HTML: What's the RoRing approach?


My app lets users fill in some forms and then creates an XML file from
the data they enter. I’ve got the XML file saved on the server, and
I’ve got the data they entered sitting in the database. Now I need to
create an HTML file from that same data.

What’s the Rails way?

Is there an XSL transform function somewhere I could use on the XML
file? Or should I go back to the data in the database and use Builder
again to write out the HTML file? Or is there some other approach that
better suits the RoRing mental model?

Thanks in advance for any thoughts / suggestions.

Best regards,