[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] problem with parsing JS inside a XSL file
Subject: [xsl] problem with parsing JS inside a XSL file
From: "itay Malin" <itaym02@xxxxxxxxxxx>
Date: Mon, 30 Oct 2006 04:37:31 +0000
|
Greetings.
I have a XSL template which includes javascript code:
<xsl:template match="/">
<script type="text/javascript">
alert('<xsl:value-of select="list/id"/>');
</script>
</xsl:template>
This works fine in FF and IE when I tie the XML directly to the XSL
(i.e. with: <?xml-stylesheet type="text/xsl" href="./directory/file.xsl"?>)
With FireFox I have no problems.
But, when I try to tie both files dynamicaly with the IE js
ActiveXObject("Microsoft.XMLDOM");
it isn't working!
ANy idea what should I do?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
|