我应该使用哪个版本的 MSXML? [英] Which version of MSXML should I use?

查看:24
本文介绍了我应该使用哪个版本的 MSXML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这似乎是一个常见问题,尽管我在 SO 上找不到.

Seems like this would be a common question, though I could not find it on SO.

我应该在我的应用程序中使用哪个版本的 MSXML,更重要的是,我应该如何决定?

有 MSXML3、4、5 和 6.

There is MSXML3, 4, 5 and 6.

我最近在 calling-wcf-service-by-vbscript 中发布了一些代码使用 MSXML v4.AnthonyWJones 发帖说我不应该使用 4,而应该使用 3 或 6,但可能是 3.当然不是 v5!

I recently posted some code in calling-wcf-service-by-vbscript that used MSXML v4. AnthonyWJones posted that I shouldn't use 4, but instead 3 or 6, but probably 3. Certainly not v5!

为什么?我想详细了解选择要在我的应用中使用的 MSXML 版本的标准.

Why? I'd like to know more about the criteria for selecting the version of MSXML to use in my apps.

额外问题:有人总结过不同版本的 MSXML 随时间推移的差异吗?

Bonus question: Does anyone have a summary of the differences between the various versions of MSXML over time?

到目前为止的总结:

  • MSXML6
    应该是首选.于 2006 年发布,包括性能和合规性修复.如果可以,请使用它.很好.没有合并模块;要将 MSXML6 运行时与您的应用程序捆绑在一起,MS 建议打包 MSXML6.msi 文件.MSXML6 是 MSXML3/4 的升级版,但不会取代它们,因为它中止了某些功能.您可以在 此处获得 MSI.
  • MSXML3
    第二选择.部署最广泛的版本.最初于 2000 年 3 月发货.积极维护,没有新功能.当前支持,如果您在 SP5(2005 年发布)或更高版本.SP7 是最新的(同样来自 2005 年).
  • MSXML5
    仅作为 MS-Office 的一部分发布.目前受 Microsoft 支持,但仅作为 Office 的一部分,不用于构建应用程序.不要构建依赖于 MSXML5 的应用程序:Verboten.
  • MSXML4
    原来发货?目前处于维护模式".Microsoft 鼓励人们从 MSXML4 迁移到 MSXML6.如果您使用的是 2003 年发布的 MSXML4SP2 或更高版本,目前支持.下载 MSXML4SP2 此处.可以重新分发.
  • MSXML6
    Should be first choice. was released in 2006, and includes perf and compliance fixes. Use this if you can. It's good. There are no merge modules; to bundle the MSXML6 runtime with your app, MS suggests packaging the MSXML6 msi file. MSXML6 is an upgrade from MSXML3/4 but does not replace them, because it discontinues some features. You can get the MSI here.
  • MSXML3
    Second choice. Most widely deployed version. Originally shipped in March 2000. Actively maintained, no new features. Currently supported, if you are on SP5 (shipped in 2005) or later. SP7 is current (also from 2005).
  • MSXML5
    was released only as part of MS-Office. Currently supported by Microsoft, but only as part of Office, not for building apps. Don't build apps that depend on MSXML5: Verboten.
  • MSXML4
    originally shipped? Currently in "maintenance mode". Microsoft is encouraging people to move off MSXML4 to MSXML6. Currently supported if you are on MSXML4SP2 or later, which shipped in 2003. download MSXML4SP2 here. Can be redisributed.

在 Internet Explorer 中使用正确版本的 MSXMLMicrosoft xmlteam 博客上的一个很好的条目.

推荐答案

如果您需要支持 Win2k 之前的 Windows 操作系统版本,请使用 MSXML3.否则,使用 MSXML6.

If you need to support Windows OS versions prior to Win2k, then use MSXML3. Otherwise, use MSXML6.

MSXML4 处于维护模式.
MSXML5 从未真正支持在 MS-Office 之外使用.

MSXML4 is in maintenance mode.
MSXML5 was never actually supported for use outside of MS-Office.

这篇关于我应该使用哪个版本的 MSXML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆