RE: Question about if statement in xsl file

Subject: RE: Question about if statement in xsl file
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Mon, 3 Apr 2000 16:55:59 +0200
The '>' character has to be escaped in XML, although I wouldn't expect this
to be necessary in a CDATA section. 

Try '&gt;', maybe that'll work.

> -----Original Message-----
> From: Paal Eriksen [mailto:pserik@xxxxxxxxxxx]
> Sent: Monday, April 03, 2000 5:45 PM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Question about if statement in xsl file
> 
> 
> Is there a special syntax for if statement in xsl file? 
> Example applyed work 
> in a htm file. In xsl file get error in the if statement, 
> saying expecting 
> ')' in that particular line. If i replace the > with == then 
> everything 
> works fine. So question is why doesn't it like the > ?
> 
> Steven
> 
> Example
> 
> <script language="Javascript"><![CDATA[
> Function {
>   var xChoord;
>   var yChoord;
>   xChoord=window.event.clientX;
>   yChoord=window.event.clientY;
>   if (yChoord>90) {
> 
>   .... Do something ... }
> }
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread