Creating customize XML

I have database in MYSQL, from its two table , I want to create XML.

I extracted the data from the table A using active record and that data can be saved in another table in the form of XML also.

But inside the extracted data, I want to replace ids with the name provided in table B.

But the customizing the XML is notworking . Please help me on this.

Thanks Ekta ekta.29june@gmail.com

Generate a view myview.xml.builder (notice the builder extension at the end) or in Rails < 2 .rxml and use builder to generate your xml.

This link provides some examples:

http://snippets.dzone.com/tag/rxml

Best regards

Peter De Berdt