Subject: RE: Question about if statement in xsl file From: "Paal Eriksen" <pserik@xxxxxxxxxxx> Date: Tue, 04 Apr 2000 12:25:27 CEST |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Question about if statement in xsl , Paal Eriksen | Thread | Re: Question about if statement in , David Carlisle |
RE: Is it time for an XSLT-list?, Linda van den Brink | Date | Re: <xsl:choose> <xsl:when> problem, David Carlisle |
Month |