Subject: Less than symbol in xsl:if or xsl:when
From: sudheshna iyer <sudheshnaiyer@xxxxxxxxx>
Date: Thu, 7 Oct 2010 12:42:06 -0700 (PDT)
|
The following stmt works, but when I replace > with <, it doesn't work. I am
compiling with xmlspy with xslt1.0
<xsl:when test="string-length($VAR1) > $VAR2"> => Works
<xsl:when test="string-length($VAR1) < $VAR3"> => Doesn't work
My main goal is to check whether length of VAR2 is in between 2 numbers.. like
string-length($VAR1) >= $VAR2and string-length($VAR1) <= $VAR3
How do I achieve this?
|