XML::Generator::DBI Perl Module

One of the most frequently performed tasks while integrating XML and RDBMS formats is transforming the query results returned by the database engine into XML data (either in memory, or written out in the form of an XML document). As I discussed earlier, the Perl DBI is a database-independent interface for accessing databases. It enables you to run SQL queries to extract data from a DBMS and returns this data in a Perl data structure.You can convert the results of a SQL query into XML by using the Perl XML::DBI::Generator module that was written by Matt Sergeant.

This module enables you to generate Simple API for XML (SAX) events that are created as the result of a SQL query to a RDBMS. Basically, this facilitates ...

Get XML and Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.