RE: Problem instantiating XMLDOMDocument node within <xsl:s

Subject: RE: Problem instantiating XMLDOMDocument node within <xsl:s
From: Guy_Murphy@xxxxxxxxxx
Date: Mon, 19 Apr 1999 11:06:22 +0100
Hi Didier.

Just to clarify (what you might already be aware of)...

createObject is VBS, the equivelent in JScript is "var myVar = new
ActiveXObject(...object identifier...);"

It is my suspicion that COM interfaces are simply not exposed to the XSL
scripting engine, whether VBS, JScript or otherwise. I'm not sure exactly
COM and the scripting Host meet together.... is it the scripting hosts
responsibility to expose COM interfaces to the script?... if so if the XSL
scripting host simply doesn't do this.... no COM.

Also, I haven't tested to see if the scripting engine used by XSL is the
same as that used by other hosts.... has anybody tried using try {...}
catch (...){...} from XSL on a system with JScript 5 installed?

Cheers
     Guy.





xsl-list@xxxxxxxxxxxxxxxx on 04/15/99 04:38:22 PM

To:   xsl-list@xxxxxxxxxxxxxxxx
cc:    (bcc: Guy Murphy/UK/MAID)
Subject:  RE: Problem instantiating  XMLDOMDocument node within <xsl:s




Hi Amit,
So the conclusion form your test seems to be that the XSL script host do
not
support the createObject function. The JScript script engine may be one
without the createobject function or that the script engine has some
setting
allowing it to have this function removed.
regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com
[SNIP]





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


Current Thread