[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: creating JavaScript from xsl

Subject: RE: creating JavaScript from xsl
From: Jarno.Elovirta@xxxxxxxxx
Date: Tue, 19 Nov 2002 15:51:44 +0200
xsl javascript gt
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.