XPath和XSLT 2.0 .NET? [英] XPath and XSLT 2.0 for .NET?

查看:105
本文介绍了XPath和XSLT 2.0 .NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.NET 3.5不完全支持XPATH 2.0或XSLT 2.0,这实在是太糟糕。有谁知道,如果这两个将被纳入和完全支持在今后的任何.NET版本?

.NET 3.5 doesn't completely support XPATH 2.0 or XSLT 2.0, which is just too bad. Does anyone know if these two will be included and fully supported in any future .NET versions?

推荐答案

我不认为他们会增加支持的XPath 2.0或XSLT 2.0任何时间很快。

I don't think they'll add support for XPath 2.0 or XSLT 2.0 any time soon.

不过,你不应该难过,如果这些都不是首创置业的一部分,只要你有第三方的实现可供选择:

However, you shouldn't feel bad if these are not part of the BCL, as long as you have 3rd party implementations available:

  • Saxon: XPath 3.0, XQuery 3.0, XSLT 2.0
  • XmlPrime: XPath 2.0, XQuery 1.0, XSLT 2.0
  • QueryMachine: XPath 2.0, XQuery 1.0
  • Lightweight XPath2 for .NET: XPath 2.0
  • Exselt: XSLT 3.0 (Upcoming)

微软客户为主。如果客户不想要它,他们不会做出来。

Microsoft is customer oriented. If customers don't want it, they won't make it.

2009-11-18:我这里联系了XML小组和得到这个答复:

2009-11-18: I contacted the XML team here and got this response:

虽然XML仍然是一个重要组成部分   我们的平台展望未来,我们有   决定不追求一个XSLT 2.0   实现在这个时候。如果有   是你想一个特定的XSLT任务   实现并具有   困难XSLT 1.0,请让   我们知道,我们会尽我们最大的努力提供帮助。

While XML continues to be a key part of our platform going forward, we have decided not to pursue an XSLT 2.0 implementation at this time. If there is a specific XSLT task you’re trying to accomplish and are having difficulty with XSLT 1.0, please let us know and we’ll do our best to help.

2011-03-23​​:在.NET 4.0版本中引入了一些错误上XslCompiledTransform,我打电话给这些bug,而不是缺少的功能,因为这些问题在previous版本不存在(.NET 2.0〜 3.5)。请投票,使他们解决这些问题:


2011-03-23: The .NET 4.0 release introduced a number of bugs on XslCompiledTransform, I'm calling these bugs and not missing features because these issues did not exist in the previous releases (.NET 2.0-3.5). Please vote so they fix them:

  • XslCompiledTransform doesn't support forwards-compatible processing Fixed in .NET 4.5
  • XSLT fallback instruction is ignored Fixed in .NET 4.5

这篇关于XPath和XSLT 2.0 .NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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