Subject: RE: Question about if statement in xsl file
From: "Paal Eriksen" <pserik@xxxxxxxxxxx>
Date: Tue, 04 Apr 2000 12:25:27 CEST
|
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@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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|