MSXML: Difference between revisions

Content deleted Content added
Versions: New changes
Tags: Reverted Mobile edit Mobile web edit
Removing link(s) to "ProgID": Removing links to deleted page ProgID.
 
(2 intermediate revisions by 2 users not shown)
Line 6:
All MSXML products are similar in that they are exposed programmatically as [[OLE Automation]] (a subset of [[Component Object Model|COM]]) components. Developers can program against MSXML components from [[C (programming language)|C]], [[C++]] or from [[Active Scripting]] languages such as JScript and VBScript. Managed .NET Interop with MSXML COM components is not supported nor recommended.<ref>{{cite web | url = https://support.microsoft.com/en-us/kb/815112 | title = The use of MSXML is not supported in .NET applications | publisher = [[Microsoft]] | access-date = 2010-03-18}}</ref>
 
As with all COM components, an MSXML object is programmatically instantiated by CLSID or [[ProgID]]. Each version of MSXML exposes its own set of CLSID's and ProgIDs. For example, to create an MSXML 6.0 DOMDocument object, which exposes the <code>IXmlDomDocument</code>,<ref>{{cite web | url = http://msdn2.microsoft.com/en-us/library/ms756987.aspx | title = IXMLDOMDocument/DOMDocument | publisher = [[MSDN]] | access-date = 2008-05-28}}</ref> <code>IXmlDomDocument2</code>,<ref>{{cite web | url = http://msdn2.microsoft.com/en-us/library/ms761358.aspx | title = IXMLDOMDocument2 | access-date = 2008-05-28 | publisher = [[MSDN]]}}</ref> and <code>IXmlDomDocument3</code><ref>{{cite web | url = http://msdn2.microsoft.com/en-us/library/ms763789.aspx | title = IXMLDOMDocument3 | access-date = 2008-05-28 | publisher = [[MSDN]]}}</ref> COM interfaces, the ProgID "MSXML2.DOMDocument.6.0" must be used.
 
MSXML also supports version-independent ProgIDs. Version-independent ProgIDs do not have a version number associated with them. For example, "Microsoft.XMLHTTP". These ProgIDs were first introduced in MSXML 1.0, however are currently mapped to MSXML 3.0 objects and the msxml3.dll.
Line 16:
 
=== Current ===
* '''MSXML 6.0''' MSXML6 is the latest MSXML product from Microsoft, and (along with MSXML3) is shipped with [[Microsoft SQL Server 2005]], [[Microsoft Visual Studio|Visual Studio 2005]], [[.NET Framework 3.0]], [[Windowsas Vista]],well as [[Windows 7]],XP [[WindowsService 8]]([[WindowsPack 8.1|.13]]), [[Windows 10Vista]] and [[every subsequent versions of Windows XPup Serviceto Pack[[Windows 311]]. It also has support for native [[64-bit]] environments. It is an upgrade but not replacement for versions 3 and 4 as they still provide legacy features not supported in version 6. Version 6, 4, and 3 may all be installed and running concurrently. MSXML 6 is not supported on [[Windows 9x]]. Windows XP SP3 includes MSXML 6.0 SP2. Windows 7, Windows 8, Windows 8.1 and Windows 10 also include MSXML 6.0 SP3.
* '''MSXML 3.0''' MSXML3 is a current MSXML product, represented by msxml3.dll. MSXML 3.0 SP2 first shipped with [[Windows XP]], [[Internet Explorer]] 6.0 and [[Microsoft Data Access Components|MDAC]] 2.7. Windows XP SP2 includes MSXML 3.0 SP5 as part of MDAC 2.81. Windows 2000 SP4 also ships with MSXML 3.0. By default, Internet Explorer version [[Internet Explorer 6|6.0]], [[Internet Explorer 7.0|7.0]] and [[Internet Explorer 8|8.0]] use MSXML 3 to parse XML documents loaded in a window. MSXML 3.0 SP7 is the last supported version for [[Windows 95]]. Windows XP SP3 includes MSXML 3.0 SP9. [[Windows Vista]] also includes MSXML 3.0 (SP10). [[Windows 7]] (and later) includes MSXML 3.0 (SP11) as well.
 
=== Obsolete ===