This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:choose / xsl:when problems
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] xsl:choose / xsl:when problems
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 21 Feb 2001 19:41:57 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <xsl:when test="substring(@DateReceived,6,2) =
'01'"/>January</xsl:when>
Change "/>" to ">" throughout.
Incidentally, it's much easier and faster to evaluate the substring once and
put the result in a variable.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list