>From Kip Hampton's column 
http://www.xml.com/lpt/a/2002/04/17/perl-xml.html

"DBIx::XML_RDB and the sql2xml Utility
Requires DBIx::XML_RDB, DBI

Fans of Matt's popular DBIx::XML_RDB module will be pleased to know
that it too ships with a command line tool, sql2xml, that returns an
entire database table as a single XML document. 

Examples:
Save the data stored in the 'users' table as the file users.xml:

sql2xml.pl -sn myserver -driver Oracle -uid user -pwd seekrit -table
user -output users.xml

Or, to send data to STDOUT,

sql2xml.pl -sn myserver -driver Oracle -uid user -pwd seekrit -table
user -output -         "


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

Reply via email to