Subject: RE: < in <xsl:eval>
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Mon, 11 Jan 1999 22:10:32 -0800
|
You have two choices. Either wrap the script in the eval with a CDATA or
replace the < with the entity <.
> -----Original Message-----
> From: alan dennis [SMTP:alan_l_dennis@xxxxxxxxxxx]
> Sent: Wednesday, December 16, 1998 7:43 AM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: < in <xsl:eval>
>
> How can you test for < in an eval statement, in IE5? For instance the
> following works:
>
> <xsl:eval>var i=0;var sString="";for(i=0;10>i;i++){sString += ".";}
> ;sString;</xsl:eval>
>
> however
>
> <xsl:eval>var i=0;var sString="";for(i=0;i<10;i++){sString += ".";}
> ;sString;</xsl:eval>
>
> (which is of the more common form) does not.
>
> Thanks,
> Alan.
>
> ______________________________________________________
> 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
|