E
eric.goforth
Hello,
What happens if you call an xsl template if you call it without setting
the values of all it's parameters, I assume that the parameters will be
either null or an empty string and the following code will handle it:
<xsl:if test="string-length($sValue) > 0">
<xsl:attribute name="VALUE"><xsl:value-of
select="$sValue"/></xsl:attribute>
</xsl:if>
Thanks,
Eric
What happens if you call an xsl template if you call it without setting
the values of all it's parameters, I assume that the parameters will be
either null or an empty string and the following code will handle it:
<xsl:if test="string-length($sValue) > 0">
<xsl:attribute name="VALUE"><xsl:value-of
select="$sValue"/></xsl:attribute>
</xsl:if>
Thanks,
Eric