XML Data Output from ODBC
PerlDutch
created: 2006-04-15 18:37:11
sub XML
        {
        use DBIx::XML_RDB;
        my $xmlout = DBIx::XML_RDB->new("Northwind",
        "ODBC", "sa", "sa", "") || die "Failed to make new xmlout";
        
        my $file_xml = "a xml file name.xml"; 
        
        $sqlstatement= "select * from a table";

        $xmlout->DoSql($sqlstatement);
        
        print $xmlout->GetData;
        
        
        }

2006-04-17 [id://340870|Retitled] by [planetscape], as per Monastery [id://341118|guidelines]
Original title: 'XML Data Output'

perlmonks.org content © perlmonks.org and PerlDutch

prlmnks.org © 2006 edmund von der burg (eccles & toad)

v 0.03