Subject: CANNOT CREATE Microsoft.xmldom
From: "Vassilis Grillas" <vgrillas@xxxxxxxxx>
Date: Mon, 14 Jun 1999 15:18:09 +0300
|
|
I cannot create an xmldom object. The following
code results in the error found at the bottom of the page:
<?xml version='1.0'?> <xsl:stylesheet
language="VBScript" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template >
<HTML> <HEAD</HEAD>
<BODY>
<xsl:eval>init()</xsl:eval>
</BODY> </HTML>
</xsl:template> <xsl:script
language="VBScript"><![CDATA[ Dim
xmldoc
Function
init() Set xmldoc =
CreateObject("Microsoft.XMLDOM")
xmldoc.load("c:\temp\test_xml\dat.xml")
init =
1 End Function
]]></xsl:script>
</xsl:stylesheet>
Microsoft VBScript runtime error
ActiveX component can't create object: 'Microsoft.XMLDOM' line = 5, col = 9
(line is offset from the tag).
Error returned from property or method call.
any ideas?
thanks a lot
|
|