.net - .NET 中 XSLT 2.0 可用性的当前状态是什么

标签 .net xml xslt xslt-2.0

我可以从网络和博客圈找到的最新信息表明 Microsoft 的 XML 团队将是 supporting XSLT 2.0 (now that it was a full blown W3C recommendation) .除此之外我找不到任何东西。

目前情况如何?它在 .NET 3.5/4.0 中可用吗?还是他们坚持使用 XSLT 1.1 并插入 XQUERY 和 LINQ?

最佳答案

Microsoft 不支持它,据我所知,也没有任何公告。你从哪里听说的?

更新(在您将链接添加到 XML 团队博客之后):

微软似乎根据this interview改变了策略同年晚些时候,与 Microsoft XML 团队的项目经理 Chris Lovett 进行了交流,所以这一切都是关于 LINQ 的:

As for XSLT 2.0 - we’ve heard from customers and understand the improvements in XSLT 2.0 over XSLT 1.0, but right now we’re in the middle of a big strategic investment in LINQ and EDM for the future of the data programming platform which we think will create major improvements in programming against all types of data. But we are always re-evaluating our technology investments so if your readers want to ramp up their volume on XSLT 2.0 please ask them to drop us a line with their comments.

如果您想将 XSLT/XPath 2.0 与 .NET 一起使用,您可以使用 Saxon.NET .然而,这只是在 IKVM 中运行的 Saxon 的 Java 版本。它的大小很大,在 30 MB 范围内,当我尝试它时,它的性能似乎并没有让人难以承受(尽管这是一个非常基本的测试,所以结果可能与典型的样式表不同)。

关于.net - .NET 中 XSLT 2.0 可用性的当前状态是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/831300/

相关文章:

使用xml而不是jaxb注释的Java webservice工具?

xml - 解码具有相同名称但元素不同的嵌套数组

xslt - 如何在XSLT中添加时间?

xslt - 如何获取XSL中的处理指令属性值

c# - 来自 HttpWebRequest 的详细时间信息

c# - #if#else #endif 和常规 if, else 之间的区别

c# - Selenium 截图参数无效

c# - 如何使用 Windows API 捕获屏幕和鼠标指针?

xml - 合并具有相同属性的元素

xslt - XSL 转换间距