|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Newbie question about the Less than Operator
You must use the 'escaped' version since < is a start tag character in XML -- not a less than sign. Use < instead, such as: <xsl:if test="($sectioncount < $unitcount2)"> Sara > -----Original Message----- > From: Peter Bennett [mailto:peter.bennett@xxxxxxxxxxxxxxxx] > Sent: Tuesday, March 28, 2000 8:58 AM > To: 'XSL-List@xxxxxxxxxxxxxxxx' > Subject: Newbie question about the Less than Operator > > > I am trying to conditionally process using <xsl:if>. > But I can't find a way to use the less than operator. > > for example, this seems to work, > > <xsl:if test="($sectioncount = $unitcount2)"> > > but I want to do > > <xsl:if test="($sectioncount < $unitcount2)"> > > (or something like it). > > However, if I try this, XT says "character not allowed." > > I guess that I can't use < in this manner, but I can't find any > references to alternative operators. > > Thanks for any help > Peter > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








