This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xsl:choose / xsl:when problems


>     <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]