[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Database to xml for data migration

Deepak Vohra

12/10/2007 2:24:00 AM

Note: parts of this message were removed by the gateway to make it a legal Usenet post.

A rails application would be the most suitable to generate an XML from database.

http://www.xml.com/pub/a/2007/01/17/making-xml-in-a-rails-app-xml-bu...
Cameron Senior <cs.subscribe@gmail.com> wrote:
Hi Everyone,

I have searched google for answers and have gone down a few paths of
investigation.... But being a newbie I am rapidly getting confused and
this should essentially be a very simple task.

What I need is some advice on the best way to go about this problem.

We are needing to generate XML documents for a migration into a new
system from an existing database.

I looked into the ruby builder library, but couldn't see too many
examples outside of rails to build the XML up from a template. I know I
can put together a rails app to use an rxml template etc, but going down
that path seems to much effort for this....

I have a template of the xml I need to upload, what I need is to
populate that template for each db record. What is the simplest, best
ruby way to export from the db into xml?

Thanks for your help!
--
Posted via http://www.ruby-....