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

Subject: Re: Problem instantiating XMLDOMDocument node within <xsl:script> in IE5
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Wed, 14 Apr 1999 12:16:53 -0400
>
>If after having added the previously mentioned keys it still do not work.
>Then, the cause is the script host that suppressed the CreateObject
function
>from the available valid functions.
>
>Give us feedback on your research.
></reply>
>
 The problem is the famous "OLE Automation server can't create object"
error.

It occurs whether or not a valid PROGID is passed to new ActiveXObject.

The question is whether this behavior is specific to MS script engines or
any script engine run within IE's XSL.

here are the sample files that I've used to demonstrate this:
-----------XSL-------------
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
<xsl:script language="JavaScript">
function testit() {
 var doc = new ActiveXObject("Microsoft.XMLDOM");
 };
</xsl:script>
<xsl:template><xsl:apply-templates /></xsl:template>
<xsl:template match="/">
<xsl:eval>testit()</xsl:eval>
</xsl:template>

</xsl:stylesheet>
---------XML----------------
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="test.xsl" ?>
<example></example>


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


Current Thread