[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|