Subject: Re: [xsl] A MySQL heads-up. From: Ben Trafford <ben@xxxxxxxxxxx> Date: Tue, 02 Dec 2003 19:44:19 -0500 |
At 18:21 -0500 12/2/03, Ben Trafford wrote:Just a wee heads-up for anybody using MySQL's XML output function...it seems to export any empty field with a datatype of "text" as an empty element, rather than an element containing the NULL one might expect.
Why do you expect this? An empty field is not the same as a field that contains NULL.
In both cases, the output for the empty value and the NULL value are different. If they were not, you'd be hard-pressed to distinguish the two in your stylesheets. (Of course, as it is, you can't really distinguish NULL from a column containing the string "NULL", hm....)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] A MySQL heads-up., Paul DuBois | Thread | RE: [xsl] A MySQL heads-up., John Marshall |
Re: [xsl] A MySQL heads-up., Paul DuBois | Date | Re: [xsl] Re: HOWTO: convert flat l, Dimitre Novatchev |
Month |