[Rails] Re: Rails magic for MySQL -> XML file -> MySQL and backagai

Bill Walton bill.walton at charter.net
Fri Aug 11 18:22:10 GMT 2006


Hi Tony,

Tony Martin wrote:
>
> I wonder how far you got with your application.  I have
> been googling for some time now and the information on
> handling xml files in rails is sparse.

I'm using Builder::XMLmarkup to output the XML files and REXML to read them 
back in.  Both are slam-dunk simple and both are included in the standard 
distro.  The documentation for Builder is at http://api.rubyonrails.org/. 
The documentation for REXML is at 
http://www.germane-software.com/software/rexml/.

>  If you had any helpful examples, I would be most grateful.

Take a look at the above and let me know if you have any specific questions. 
Be glad to try.

> Once I have my xml file, I thought I could build an xslt to
> allow it to be later viewed in a browser.

I'd be interested in anything you come up with re: XSLT.  I'm not using it 
at this point, but may have a need on the horizon.  I haven't used it yet, 
and it's not included in the standard distro (yet, I hope), but 
http://raa.ruby-lang.org/project/ruby-xslt/  is probably where I'll start if 
I end up going down that path.

hth,
Bill 



More information about the Rails mailing list