Determine the Version of MSXML Parser Installed on a Computer

Article translations Article translations
Article ID: 278674 - View products that this article applies to.
This article was previously published under Q278674
Expand all | Collapse all

SUMMARY

Some recently released MSXML parsers, such as the MSXML 3.0 parser, can be installed in side-by-side mode so that previous versions of the parser are not replaced. The MSXML 3.0 parser can also be run under Replace mode so that previously released products such as Microsoft Internet Explorer can take advantage of the new features. This flexibility may result in multiple parsers installed on a computer.

In this article, the XMLVersion tool is provided to help developers detect which MSXML parsers are installed on a computer and the mode of the installation (that is, Replace mode or side-by-side mode) of each parser.

MORE INFORMATION

The following files are available for download from the Microsoft Download Center:
Xmlversion.exe
Release Date: June 11, 2003

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
Xmlversiontext.exe
Release Date: June 11, 2003

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
Versions.exe
Release Date: June 11, 2003

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

There are two versions of this tool. Xmlversion.exe contains a built-in user interface (UI) for the .ocx file; Xmlversiontext.exe does not. Xmlversiontext.exe was created because some computers do not have the minimum requirements for Xmlversion.exe. The minimum requirements for Xmlversion.exe are Microsoft Internet Explorer 4.01, Microsoft Script Runtime (Scrrun.dll), and Microsoft Windows Common Controls 1 and 2. The minimum requirement for Xmlversiontext.exe is Internet Explorer 4.01.

The downloads contain the following files:

Collapse this tableExpand this table
XmlVersion File NameXmlVersionText File NamesVersions File Names
Xmlversion.htmXmlversiontext.htmVersions.xml
Xmlversion.ocxXmlversiontext.ocx
Versions.xmlVersions.xml

How to Use the Tool

  1. Extract the file to a folder and register the Xmlversion.ocx or Xmlversiontext.ocx file. Make sure that you see the message box that confirms that the .ocx registration was successful. To register the Xmlversion.ocx file, click Start, click Run, and then type regsvr32 <pathofocx>\xmlVersion.ocx (where <pathofocx> is the path to the .ocx file).

    To register the Xmlversiontext.ocx file, click Start, click Run, and then type regsvr32 <pathofocx>\xmlVersionText.ocx (where <pathofocx> is the path to the .ocx file).

    NOTE: If <pathofocx> contains spaces, you must enclose the path and the .ocx file in quotation marks (").

  2. In Internet Explorer, open Xmlversion.htm or Xmlversiontext.htm.

Description of the XMLVersion Tool

NOTE: This description applies to Xmlversion.exe only; it does not apply to Xmlversiontext.exe.

    • Versions collects information on currently installed MSXML parsers and their installation modes.
    • The default MIME version shows the parser that Internet Explorer uses.
    • Proxy shows the current proxy server setting, which is useful when you diagnose issues with the ServerXMLHTTP object.
    • ProgIDs displays all MSXML objects that are registered in the registry, along with their threading models and inprocsvr32 keys.
    • Copy Text copies the ProgId to the clipboard for easy programming.
    • Search Registry Searches the registry for the key.
    • Report generates a Results.htm file to summarize the findings.

Description of the XMLVersionText Tool

NOTE: This description applies to Xmlversiontext.ocx only; it does not apply to Xmlversion.ocx.

Although the tool displays everything when you first load the XmlVersionText.ocx in the browser, you can click the .ocx file at any time to see those values again.

Description of the Versions File

NOTE: This description applies to the Versions.exe file only.

Because Microsoft is producing different versions of MSXML, the list of the versions has been separated in an .xml file. Every effort is made to keep this file updated. You can modify this file yourself, or, when a new file is available, you can download it from this site and replace the XML file in the Ocx directory with the file that you download. Updates to the file are most likely to occur when a new version of MSXML is published.

Note the following:
  • In MSXML 2.6 and later, version-dependent ProgIds are introduced for side-by-side installation mode. Developers are strongly encouraged to use these version-dependent ProgIds in MSXML object creation.
  • If you reregister the former Msxml.dll or apply a Microsoft Windows 2000 service pack or an Internet Explorer 5.0 and later service pack, the Msxml.dll file may be registered and the installation may revert to side-by-side mode.
  • To get updated information after you change any XML configurations, you must either close the browser and reopen the HTML page, or click Refresh in the browser. This applies to both versions of the tool.
  • Although Microsoft has made an effort to make this tool work on all versions of Windows, both .ocx versions will not run on all computers. For example, the tool will not run on computers that do not have XML installed or on computers that are using a version of Internet Explorer that is earlier than version 4.01. The HTML file also includes a list of DLLs that the .ocx file is dependent on.

Properties

Article ID: 278674 - Last Review: August 5, 2004 - Revision: 4.4
APPLIES TO
  • Microsoft XML Parser 2.0
  • Microsoft XML Parser 2.5
  • Microsoft XML Parser 2.6
  • Microsoft XML Parser 3.0
  • Microsoft XML Parser 3.0 Service Pack 1
  • Microsoft XML Parser 3.0 Service Pack 2
  • Microsoft XML Core Services 4.0
Keywords: 
kbdownload kbdownload kbfile kbhowto KB278674

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com