This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
use of '>' and '<' in test
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] use of '>' and '<' in test
- From: "Tim Watts" <timw at 3d3 dot com>
- Date: Thu, 12 Apr 2001 11:52:59 +1000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
Simple question.
I am testing if one variable is less than another in a test statement (see
code sample below), however in XMLspy it complains.
I've seen other XSL use the same syntax, but wonder if there is another way
to structure the test so that XMLspy stays happy! ;-)
Thanks in advance for your help,
Tim
<xsl:if test="$n < $quantity">
<input type='radio' name="paymentsystem[{@id}]/priority" value='{$n}'
onClick='addprority({position()}, {$n});' /> <xsl:value-of select="$n" />
</xsl:if>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list