This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Question about if statement in xsl file
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Question about if statement in xsl file
- From: Linda van den Brink <lvdbrink at baan dot nl>
- Date: Mon, 3 Apr 2000 16:55:59 +0200
- Reply-To: xsl-list at mulberrytech dot com
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