Re: Testing with MSXML 3.0 or MSXML 6.0 (WAS: XSL 2.0
On Mon, 2007-07-02 at 09:08 -0600, M. David Peterson wrote:
This is a way to specify by code the object with the highest version number. As from my earlier post, Microsoft strongly discourages to use anything else but version 6.0 or version 3.0. Specifying "MSXML2.DOMDocument" will result in the same object instantiated as when specifying "MSXML2.DOMDocument.3.0", meaning those are redundant. ProgIDs not starting with MSXML2 (i.e., very old versions), are disabled in the browser as a result of security problems.
But this code will not show you what the default is on your system (which is the one chosen when using a PI). MD already showed how to determine that. Changing the default can only be done on the client machine by changing some parameters in the registry. It's been a long time that I changed ProgID related parameters by hand, I don't remember off hand how that was done, but it shouldn't be too hard.
I got this information from microsoft and msdn, and I did not verify every bit of it myself. I used to use MSXML6 myself, but there are security restrictions that are hard or uneasy to work around (and too insensible if you ask me), so some time last year I refactored everything back to MSXML3 (rule of lowest common divisor ;)
Cheers, -- Abel
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