How to test for NULL?

Subject: How to test for NULL?
From: "Frick, Gary" <gary.frick@xxxxxxxxxx>
Date: Fri, 3 Mar 2000 17:55:30 -0800
I'm formatting for values returned from a SQL query. Some columns may
contain NULL.  I do I test for NULL character since it isn't a valid
character in XML world?

<xsl:for-each select="@*">
  <TD>
    <xsl:if test=". != 'XSNULL'">
	<xsl:value-of select="."/>
   </xsl:if>
 </TD>
</xsl:for-each>

Thanks,
Gary


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread