Subject: Re: Problem instantiating XMLDOMDocument node within <xsl:script> in IE5
From: Duane Nickull <webmaster@xxxxxxxxxxxxxxxxx>
Date: Tue, 13 Apr 1999 10:13:53 -0700
|
AMIT:
I am just toying around but did you try:
========================================================
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<!--try with and without this. I don't know if your version of IE5.0
supports this-->
<xsl:import select="Mircosoft.XMLDOM">
</xsl:import>
<script><xsl:comment><![CDATA[
<!--Note the semi colon is gone at the end of the line that ends with
~XMLDOM-->
function WriteDocument(){
objXMLDoc = new ActiveXObject("Microsoft.XMLDOM")
<!--It is now here-->
};
<xsl:template match="/">
<xsl:eval language="JScript">WriteDocument()</xsl:eval>
</xsl:template>
]]></xsl:comment></script>
</xsl:stylesheet>
Just fishing wildly for a solution
Duane Nickull
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|