Installing and Redistributing MSXML 3.0

This topic describes requirements and other information related to installing the MSXML 3.0.

Overview

MSXML 3.0 and prior versions of MSXML are version independent. MSXML 3.0 was the last version of MSXML to support version-independent CLSIDs and ProgIDs. To use a particular version of the parser, code should include version-dependent CLSIDs and ProgIDs.

The following statement invokes the version independent DOM document implemented in MSXML 3.0:

var dom = new ActiveXObject("msxml2.DOMDocument");

The following statement invokes a particular version of the parser, in this case MSXML 3.0:

var dom = new ActiveXObject("Msxml2.DOMDocument.3.0");

Important

Ensure the stability of your applications by updating older version-independent CLSIDs and ProgIDs to version-dependent CLSIDs and ProgIDs.

Redistributing MSXML 3.0 Overview

To redistribute MSXML 3.0 along with your application, use the Windows Installer merge module (Msxml.msm). For more information on how to redistribute MSXML with your application setup, see the XML Downloads page of MSDN Online Library.

System Requirements

MSXML 3.0 is supported in Windows Vista; Windows Server 2003; Windows XP; Windows 2000; Windows 98; Windows Millenium Edition (ME).

MSXML 3.0 is preinstalled in Windows Vista; Windows XP and Windows Server 2003. For earlier versions of Windows you can install or redistribute the latest SP release of MSXML 3.0 as a separate download.

Note

It is recommended to upgrade to MSXML 6.0, since it has the latest security and performance improvements over earlier MSXML versions. If MSXML 3.0 must be used in your application, upgrade to the latest Service Pack for MSXML 3.0.

To download the latest version of MSXML, see the XML Downloads page of the MSDN Online Library.

See Also

Concepts

Installing and Redistributing MSXML
Installing and Redistributing MSXML 6.0