Subject: Re: [xsl] using javascript with xsl From: Francesco Barresi <kywocs@xxxxxxxxx> Date: Sun, 18 Sep 2005 00:11:22 -0400 |
Hi, I didn't really understood your problem, but when I put some JS in a file which will be manipulated with XSL, I always put the JS inside a CDATA section, like this: <script> <![CDATA[ header(); ]]> </script> To avoid any misinterpretation, by the XSLT processor. Bye Francesco. On 9/17/05, Wassim Mansour <wassimmansour@xxxxxxxxxxx> wrote: > Hi, I have some javascript functions in a *.js file, when I use them inside > a regular html file they work fine, but they fail when I try to generate the > html containing the calls using xsl (only on Mozilla, IE is fine with it). > here it is: > <script> > header(); // IE works fine, Mozilla doesn't do it the right way. > </script> > later.... > <script> > footer(); // IE works fine here too, Mozilla doesn't recognize any function > call after the first one. > </script> > NOTE: I have tried both functions on Mozilla using a regular html file, and > they worked fine. > > _________________________________________________________________ > FREE pop-up blocking with the new MSN Toolbar - get it now! > http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ > > -- www.GetFirefox.com !! http://kywocs.blogspot.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] using javascript with xsl, Wassim Mansour | Thread | Re: [xsl] using javascript with xsl, J.Pietschmann |
[xsl] using javascript with xsl, Wassim Mansour | Date | Re: [xsl] using javascript with xsl, J.Pietschmann |
Month |