This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: javascript in xsl


Wrap it in CDATA tags to keep the XSL parser from processing it. For
example,

<SCRIPT language="javascript">
<![CDATA[
     self.focus();
]]>
</SCRIPT>


-----Original Message-----
From: Jean de Lavarene
To: xsl-list@mulberrytech.com
Sent: 7/19/00 8:15 AM
Subject: javascript in xsl

Hello evrybody,

I want to add some javascript (the regular one, executed on the browser
:)) in my
XSL file. Do I have to change the '<' character to &lt; and '&' to &amp;
all the time?

I thought there xas a kind of escape tag which would allow me to insert
regalar javascript
in the xsl but I can't find it...

Thanks for your help,

Jean


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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]