# Rake task database to XML export

**URL:** <https://www.ruby-forum.com/t/rake-task-database-to-xml-export/110457>\
**Category:** Rails\
**Created:** [July 26, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/rake-task-database-to-xml-export/110457 "2007-07-26T15:34:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandoo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chandoo](https://www.ruby-forum.com/u/chandoo)\
**Post date:** [July 26, 2007, 3:34pm UTC](https://www.ruby-forum.com/t/rake-task-database-to-xml-export/110457/1 "2007-07-26T15:34:51Z")

</div>

Hi all…

```
  I am a new bie of ruby rails. i was working with some task to get

```

a database table to be exported in to an XMLFile. I need to write a  
raketask for that. Can some one please help me with some good stuff  
having with you regarding the rake task file written to do that dbtable  
to xml file file conversions.  
Please help me with some sample code or links

Thanks to all in advance
