Subject: Re: [xsl] not()'ing a false variable, xalan 2.4.D1 From: Greg Faron <gfaron@xxxxxxxxxxxxxxxxxx> Date: Thu, 07 Nov 2002 17:37:38 -0700 |
I am trying to make a variable that is either true or false, and later doing an <xsl:if> operation with the condition being not'd, but for some reason xalan 2.4.D1 is saying that a not("variable assigned as false") is not true.
Is this a bug or am I doing something wrong?
Test case:
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml"/>
<xsl:template match="/">
<!-- make a false variable entitled 'false-variable' --> <xsl:variable name="false-variable"> <xsl:value-of select="false()"/> </xsl:variable>
Greg Faron Integre Technical Publishing Co.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] not()'ing a false variable, x, Elizabeth Barham | Thread | Re: [xsl] not()'ing a false variabl, Elizabeth Barham |
[xsl] not()'ing a false variable, x, Elizabeth Barham | Date | [xsl] Jscript/vbscript problems in , SAL ROSALES Jr. |
Month |