xsl-list
[Top] [All Lists]

Re: using javascript with xsl

2005-09-18 01:40:44
Wassim Mansour 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.



Did you use client-side XSLT? IIRC Mozilla doesn't run JavaScript on the
result of a client-side transformation.
You should probably ask in a Mozilla related formum for more help.

J.Pietschmann

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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