"be consistent" | |
PerlMonks |
Re: SQL -> XML Conversionby mirod (Canon) |
on Apr 09, 2003 at 08:49 UTC ( [id://249173]=note: print w/replies, xml ) | Need Help?? |
It seems to me that you could patch XML::Generator::DBI. line 122 is: $proxy->send_tag($names->[$i], $row[$i], 3) if defined($row[$i]);A quick fix (untested!), that would work just for you would be to replace this by:
An even better fix would be to add an option in the new that would control whether SAX events are emitted or not for a NULL column. Then send the patch to matts and make his day ;--) Update: fixed the code (added brackets around the test). Thanks to gmax who tested it.
In Section
Seekers of Perl Wisdom
|
|