MSXML parser and internet explorer
-
Can i change the msxml parser version that internt explorer use to load the xml document? if yes, how? eg. IE6.0 use MSXML3.0 SP2, how can i force it to use other version, like MSXML4.0?
-
Can i change the msxml parser version that internt explorer use to load the xml document? if yes, how? eg. IE6.0 use MSXML3.0 SP2, how can i force it to use other version, like MSXML4.0?
There are two ways to use xml in Internet Explorer - loading a document with .xml as file extension. The MSXML parser version used to parse the xml file, transform it using a xslt stylesheet, is hardcoded. You must upgrade Internet Explorer to use a different MSXML parser. - writing JScript/VBScript code to create a COM instance of the MSXML parser within a web page. Since it's up to you to pass the progid of this object, you can choose whichever MSXML parser that might be installed. For instance, "Msxml2.DOMDocument.4.0" instead of "Microsoft.XmlDOM". A sample JScript[^] code.