CANNOT CREATE Microsoft.xmldom

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="">
  <xsl:template >
  <xsl:script language="VBScript"><![CDATA[
     Dim xmldoc
     Function init()
         Set xmldoc = CreateObject("Microsoft.XMLDOM")
        init = 1
     End Function

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
Current Thread