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: Newbie question about the Less than Operator


Use <

<xsl:if test="($sectioncount &lt; $unitcount2)">

- Prasad



> -----Original Message-----
> From:	Peter Bennett [SMTP:peter.bennett@telematica.co.uk]
> Sent:	Tuesday, March 28, 2000 10:58 AM
> To:	'XSL-List@mulberrytech.com'
> 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

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