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 -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Amit Rekhi Sent: Thursday, April 15, 1999 6:59 AM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: Problem instantiating XMLDOMDocument node within <xsl:script> in IE5 Hi Didier, >Good you brought the problem, it help us to discover some XSL engine >internals. We are right now with two hypothesis: [....more text...] Thanks for your reply. I tried the option b) but things still did not work. I get the the same old error msg. "Microsoft JScript compilation error Expected ';' line = 4, col = 7 (line is offset from the tag). set objXMLDoc = new ActiveXObject("Microsoft.XMLDOM");" >b) the host has the object instantiation feature but the >object itself is not safe for scripting. I think your hypothesis b) holds. since the MS documentation on scripting also suggests something along similar lines... It goes like this: "For security reasons, script called from XSL currently cannot instantiate COM objects" XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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