June 28, 200520 yr <xsl:choose> <xsl:when test="$abc=' ' "> ...false </xsl:when> <xsl:otherwise> ...true </xsl:otherwise> </xsl:choose> Is this the correct way to test if variable abc has a value (ie. I want to test if a token has been passed)? Thanks
June 28, 200520 yr ' <xsl:when test="$abc != '' "> ' ... do this ... Try to test for NOT EMPTY. Use the xsl:otherwise for an empty value. http://www.w3.org/TR/xpath#NT-OperatorName
Create an account or sign in to comment