xsl-list
[Top] [All Lists]

RE: creating JavaScript from xsl

2002-11-19 06:51:44
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



<Prev in Thread] Current Thread [Next in Thread>