in reply to SQL -> XML Conversion
There is a very good reason for the current behaviour: NULL gets mapped to no element, empty string gets mapped to empty element.
If you really need to confuse the two concepts, you can write a SAX filter (put it between the generator and your consumer) which fills in the missing elements.
On a side note: if you need a CSV, why are you passing through XML?
-- dakkar - Mobilis in mobile
Most of my code is tested...
Perl is strongly typed, it just has very few types (Dan)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: SQL -> XML Conversion
by set_uk (Pilgrim) on Apr 09, 2003 at 22:06 UTC | |
by bronto (Priest) on Apr 10, 2003 at 08:15 UTC |
In Section
Seekers of Perl Wisdom