[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: using javascript with xsl
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|