|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: CANNOT CREATE Microsoft.xmldom
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








