I'm not sure I entirely follow what you're looking for, whether it is generating an XML document or reading an XML document. However, the boys over at IBM have put together a fairly extensive document about XML and working with it in Rails. Maybe this will help:
I am extremely new to rails so please bare with me.
I am toying around with the wonder that is rails, and am wondering what is the best way to work with .XML in rails.
Meaning if I have .XML file with a bunch of tags lets call them what is the best way to display what is nested inside on the web? I know in .ASP I would use .XSL to do the formatting and presentaion of the .xml files. Does the same apply?
Thanks in advance for the guidence,