RE: Problem instantiating XMLDOMDocument node within <xsl:s

Subject: RE: Problem instantiating XMLDOMDocument node within <xsl:s
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Mon, 19 Apr 1999 09:03:21 -0400
Hi Guy,

a) About the CreateObject. I'll know quite soon if this function is given by
the host when my script host will be finished. My hypothesis is that this
function is part of the default interface given by the host to the script
engine. As you know, a script host can provide objects to the script engine
through a default interface.

b) I'll try an other test that will just give us clue if XSL is a script
host like the others. set a script="PerScript". If it work, then XSL is a
script host.

regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of
Guy_Murphy@xxxxxxxxxx
Sent: Monday, April 19, 1999 6:06 AM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: RE: Problem instantiating XMLDOMDocument node within <xsl:s


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


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


Current Thread