XSLT IE6 默认处理器
IE6 的默认 XSLT 处理器是什么。 它支持 EXSLT 吗? 有什么办法让它支持它吗?
What is the default XSLT processor for IE6. Does it support EXSLT? Is there anyway to make it support it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
IE6 的默认 XSLT 处理器是 MSXML 3.0。 您可以忘记在 MSXML 3 中执行 XSLT。它支持的甚至不是 XSLT 的子集,而是较旧的草案。 然而,大多数人都会通过软件更新、MS Office 或其他方式安装 MSXML 4 或更高版本。 MSXML 4 及更高版本中的 XSLT 确实很快,比 Firefox 中的 XSLT 快得多。
因此,不要测试 IE 版本,而是测试 MSXML 版本。 首先尝试 MSXML 6,如果不存在,则回退到 MSXML 4。不要尝试 MSXML 5,它是 Office 使用的中间版本,但 Microsoft 不再支持。
MSXML 支持扩展函数(遗憾的是 Firefox 不支持),因此您可以使用 javascript 添加 EXSLT 支持。
The default XSLT processor for IE6 is MSXML 3.0. You can forget about doing XSLT in MSXML 3. What it supports is not even a subset of XSLT, but an older draft. However, most people will have MSXML 4 or higher installed, either through a software update, ms office or some other way. XSLT in MSXML 4 and up is really fast, much faster than XSLT in Firefox.
So, don't test for the IE version, but for the MSXML version. Try MSXML 6 first, and if it doesn't exist fallback to MSXML 4. Don't try MSXML 5, it was an intermediate version used by Office, but is no longer supported by Microsoft.
MSXML supports extension functions (Firefox doesn't, sadly), so you could add EXSLT support with javascript.
你唤醒了我过去的折磨者。
MSXML,它是作为服务更新安装的,而最初包含在 MSIE6 中的 XSLT 处理器除了非常通用的草稿功能之外不支持任何其他功能。 服务更新对此有了很大的改进。
由于需要存在服务更新,我们从未考虑过使用 MSIE6 执行任何客户端 XSLT,而是在客户端浏览器为 MSIE6 时在服务器端执行转换并中继转换后的内容。
You have awakened a tormentor from my past.
MSXML, it was installed as a service update, and the XSLT processor originally included in MSIE6 did not support much of anything other than a very general level of draft functionality. The service update improved on it greatly.
Because of requiring the presence of a service update we never considered performing any client-side XSLT with MSIE6 and instead performed transformations server-side when the client browser was MSIE6 and relayed the transformed content.