RE: [xsl] creating JavaScript from xsl

Subject: RE: [xsl] creating JavaScript from xsl
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 19 Nov 2002 15:51:44 +0200
Hi,

> im creating a *.js (in my case: logic.js) file from an xml/xsl. it is
> called by an xsl:
> ...
> <script type="text/javascript" language="JavaScript" src="logic.js"></
> script>
> ...
> 
> The xsl creating the js:
> ...
> <xsl:template match="/interactive">

[snip]
 
> Everything works fine except the "<,>" or "&lt;,&gt;". I tried both
> variations, but none of them worked.
> If I delete the "<,>" or "&lt;,&gt;" parts the code works fine.
> 
> How can I get the "<,>" or "&lt;,&gt;" to work?

<xsl:output method="text"/> should do it.

Cheers,

Jarno

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


Current Thread