Subject: Re: CANNOT CREATE Microsoft.xmldom From: Hari Yerram <yerram@xxxxxxxxxx> Date: Mon, 14 Jun 1999 13:16:15 -0400 |
remove the language="VBScript" from your xsl:stylesheet. look below for this. <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template > <HTML> <HEAD</HEAD> <BODY> <xsl:eval>init()</xsl:eval> </BODY> </HTML> </xsl:template> Hari Vassilis Grillas wrote: > 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 <?XML:NAMESPACE PREFIX = XSL />tag). Error returned from property or method call. > any ideas?thanks a lot XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
CANNOT CREATE Microsoft.xmldom, Vassilis Grillas | Thread | Re: CANNOT CREATE Microsoft.xmldom, Francis Norton |
Re: understanding trees, Tony Graham | Date | Node Set and Node List differentiat, Gulzar, Nadir |
Month |