Microsoft XML Analysis Program

zhaozj2021-02-16  53

Microsoft XML Analysis Program

Li Yonghai@163.net

First, Microsoft XML Parser Name

At present, Microsoft XML Analysis procedures are called Microsoft XML Core Services (MSXML), which was previously called Microsoft XML Parser, and the status of XML in Microsoft products was more important, and no longer used as a parser.

Second, MSXML version

The earliest version of MSXML is 1.0, the latest version is 4.0 SP1

Version list:

Version

FILE NAME

FILE VERSION

1.0

Msxml.dll

4.71.1712.5

1.0A

Msxml.dll

4.72.2106.4

1.0 Service Pack 1 (SP1)

Msxml.dll

4.72.3110.0

2.0

Msxml.dll

5.0.2014.0206

2.0A

Msxml.dll

5.0.2314.1000

2.0b

Msxml.dll

5.0.2614.3500

2.5 Beta 2

Msxml.dll

5.0.2919.38

2.5A

Msxml.dll

5.0.2919.6303

2.5

Msxml.dll

5.0.2920.0

2.5 Service Pack 1 (SP1)

Msxml.dll

8.0.5226

2.6 January 2000 Web Release

MSXML2.DLL (January Web Release)

7.50.4920.0

2.6 Beta 2

Msxml2.dll

8.0.5207.3

2.6

Msxml2.dll

8.0.6518.1

3.0 March 2000 Web Release

MSXML3.DLL (March Web Release)

7.50.5108.0

3.0 MAY 2000 Web Release

Msxml3.dll (May Web Release)

8.0.7309.3

3.0 July 2000 Web Release

Msxml3.dll (July Web Release)

8.0.7520.1

3.0 September 2000 Web Release

MSXML3.DLL (September Web Release)

8.0.7728.0

3.0 Release

MSXML3.DLL

8.0.7820.0

4.0 SP1

msxml4.dll

4.10.9404.0

MSXML version posted with Microsoft products

Operating systemor program

Internet Explorer

MSXML Version

NOT Applicable

Internet Explorer 4.0

1.0File Version: 4.71.1712.5

Windows 95, Oem Service Release 2.5

Internet Explorer 4.0A

1.0A File Version: 4.72.2106.4

NOT Applicable

Internet Explorer 4.01, Service Pack 1 (SP1), OR Internet Explorer 5.0

2.0File Version: 5.0.2014.0206

Office 2000

Internet Explorer 5.0A

2.0AFile Version: 5.0.2314.1000

Windows 98, SECOND Edition

Internet Explorer 5.0B

2.0BFile Version: 5.0.2614.3500

Windows 95, Windows 98, or Windows NT 4.0

Internet Explorer 5.01

2.5A File Version: 5.0.2919.6303

Windows 2000Internet Explorer 5.01

2.5File Version: 5.0.2920.0

WINDOWS 2000

Internet Explorer 5.01, Service Pack 1 (SP1)

2.5 Service Pack 1 (SP1) File Version: 8.0.5226

Windows 95, Windows 98, Windows NT 4.0, Windows 2000, or Windows 2000 Service Pack 1 (SP1)

Internet Explorer 5.5

2.5 Service Pack 1 (SP1) File Version: 8.0.5226

XML Version Shipped with Microsoft SQL ServerTM SQL Server

MSXML Version

Microsoft SQL Server 2000, Beta 2

2.6 Beta 2File Version: 8.0.5207.3

Microsoft SQL Server 2000

2.6File Version: 8.0.6518.1

XML Version Shipped with Microsoft BizTalkTM Server

BizTalk Server

MSXML Version

BizTalk (Technology Preview)

2.6File Version: 8.0.6518.1

BizTalk (Beta)

2.6File Version: 8.0.6518.1

Third, MSXML GUID and PROGID information

MSXML 4.0 does not overwrite the previous versions of MSXML at the time of installation. So the MSXML of each version can coexist. At present, IE default XML parsers are MSXML 2.0 or MSXML 3.0, even if MSXML 4.0 is installed. If you want to use the latest MSXML 4.0, you must use scripts, use version-related Progid to create objects.

Some commonly used progids are listed below:

Object name

PROGID

Domdocument (msxml 3.0)

Msxml2.domdocument

IE default DomDocument

Microsoft.xmldom, msxml.domdocument

Domdocument (msxml 4.0)

Msxml2.domdocument.4.0

DomDocument (MSXML 3.0) (Version Dependent)

Msxml2.domdocument.3.0

IE default XMLHTTP

Microsoft.xmlhttp

XMLHTTP (MSXML 3.0)

MSXML2.XMLHTTP

XMLHTTP (MSXML 3.0) (Version Dependent)

MSXML2.XMLHTTP.3.0

XMLHTTP (MSXML 4.0)

Msxml2.xmlhttp.4.0

It can be seen that if you use IE default XML Parser objects to solve problems, it is best to use. Be sure to pay attention to the version when you create an object. In addition, MSXML 4.0 Beta 2 Release and later versions will remove the Version-Independent Progids and Guids.

Four, MSXML and XSL

At present, the XSL we often say is actually the first XSLT 1.0.xs is the standard of Microsoft (now W3C standard), but because it is too complicated, it is finally derived more targeted XSLT. This is like XML from SGML Like. The picture below can express this relationship very well:

The XSL-FO function is very powerful. A open source project that Apache org is doing is the software that can convert the XML file into a multi-format document. It has implemented formats.

XMLns: xsl = http://www.w3.org/1999/xsl/transform standard refers to XSLT, XMLns: XSL = "http://www.w3.org/tr/wd-xsl standard refers to XSL .

MSXML 2.6 and previous versions only support xsl. MSXML 3.0 and later version of XSLT

V. MSXML release method on the Internet

You can download the published CAB package on the Microsoft site, then embed the following code:

ClassID = "CLSID: 88D969C0-F192-11D4-A65F-0040963251E5"

Codebase = "msxml4.cab # Version = 4, 10, 9404, 0

TYPE = "Application / X-oleObject"

Style = "Display: None">

If it is another version of MSXML Cab Package, pay attention to the corresponding place in the modification of the code.

转载请注明原文地址:https://www.9cbs.com/read-25239.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.061, SQL: 9