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
[email protected]

On 27 Mar 2008, at 13:01, Freg wrote:

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.

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