|
Subject: <xsl:variable> behavior From: "Clark C. Evans" <clark.evans@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 10 Nov 1999 17:34:27 -0500 (EST) |
<xsl:template match="/">
<xsl:variable name="x">
<xsl:choose>
<xsl:when test="false()">X</xsl:when>
</xsl:choose>
</xsl:variable>
<xsl:if test="$x">x</xsl:if>
</xsl:template>
This (unexpectedly) prints "x" using jclark's xt while
<xsl:template match="/">
<xsl:variable name="x"></xsl:variable>
<xsl:if test="$x">x</xsl:if>
</xsl:template>
Does not (as expected).
Thoughts?
Clark
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Sorting and position, Patrick Cauldwell | Thread | Re: <xsl:variable> behavior, Phil Lanch |
| RE: preserve-space, Mike Brown | Date | XSL working with IE5 and Other XSL , Michele Lee |
| Month |