Re: Problem instantiating XMLDOMDocument node within <xsl:script> in IE5

Subject: Re: Problem instantiating XMLDOMDocument node within <xsl:script> in IE5
From: Duane Nickull <webmaster@xxxxxxxxxxxxxxxxx>
Date: Tue, 13 Apr 1999 10:37:54 -0700
Amit Rekhi wrote:
> 
> Hello,
> 
> ENVIRONMENT
> Browser :- MS IE5
> DOM Implementation :- Specific to IE5

One more thing - have you tried

set objXMLDoc = new ActiveXObject("Microsoft.XMLDOM");


> 
>
>   {
>    objXMLDoc = new ActiveXObject("Microsoft.XMLDOM");
>   }
>  </xsl:script>
>  <xsl:template match="/">
>   <xsl:eval language="JScript">WriteDocument()</xsl:eval>
>  </xsl:template>
> </xsl:stylesheet>
> 
> But IE5 does not instantiate a XMLDOMDocument
> object on execution of the above XSL fragment.
> IE5 gives me the following error message :-
> 
> "Microsoft JScript runtime error
> Automation server can't create object line = 7, col = 3
> (line is offset from the tag).
> Error returned from property or method call."
> 
> QUESTIONS
> * What change do I need to make to the above
> XSL fragment to enable IE5 to
> instantiate an XMLDOMDocument object?
> 
> * Is there any change I need to make outside
> the above XSL fragment to enable IE5 to
> instantiate an XMLDOMDocument object?
> 
> Thanks in advance for any replies,
> 
> AMIT
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread