RE: [xsl] '<' Gets Converted to '&lt;'

Subject: RE: [xsl] '<' Gets Converted to '&lt;'
From: Jarno.Elovirta@xxxxxxxxx
Date: Mon, 11 Nov 2002 09:42:05 +0200
Hi,

> Try this:
> 
> <script language="JavaScript">
>   function copy_onclick(tblGroups)
>   {
>     alert('inside');
>     for(i=0;i&lt;tblGroups.rows.length;i++)
>     {
>       alert('Success1');
>     }
>     }
> </script>

This will no make no difference in the output. Instead, add "script" to cdata-section-elements attribute on xsl:output.

> also, I recommend you:
> 1-put yoour java script in a external file.

But this is what you should do.

Cheers,

Jarno

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread