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: Question about if statement in xsl file


I tried your suggestion but i get the same error. I believe maybe it's a 
error in the parser. I've tried the same code in a htm file just to check if 
the statement work and it did.

Steven

>The '>' character has to be escaped in XML, although I wouldn't expect this
>to be necessary in a CDATA section.
>
>Try '>', maybe that'll work.
>
> > -----Original Message-----
> > From: Paal Eriksen [mailto:pserik@hotmail.com]
> > Sent: Monday, April 03, 2000 5:45 PM
> > To: xsl-list@mulberrytech.com
> > 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

______________________________________________________
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]