From: Michael Neumann Date: 2001-11-01T19:44:47+09:00 Subject: [ruby-talk:24072] Re: rubyxml.com article on REXML with MySQL James Britt (rubydev) wrote: > I've written an article about using REXML (Ruby Electric XML) with MySQL: > http://www.rubyxml.com/articles/REXML/MySQL_and_REXML Nice article. You may have a look at Ruby/DBI's module XMLFormatter. It lets you easily create XML documents from a SQL query: DBI.connect(...) do | dbh | rows = dbh.select_all("SELECT * FROM ....") DBI::Utils::XMLFormatter.table(rows, "rows", "row", $stdout) # there is more fine grained control with # methods row and extended_row end Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de