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]

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

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