问题描述
我使用 xslt 2.0 将一种 xml 格式转换为另一种 xml 格式.但 Visual Studio 2010 仅支持 xslt1.0.
I am using xslt 2.0 for transforming one xml format to another xml format.But Visual Studio 2010 supports only xslt1.0.
所以,我参考了stackoverflow链接并按照他们说的程序进行了操作.但它对我不起作用......
So, I referred the stackoverflow link and followed the procedure they said.But it did not working for me...
http://zeetalks.wordpress.com/2011/07/26/vs2010-adding-xslt-to-visual-studio-2010/
Visual Studio 2010 中的 XSLT 2.0 智能感知- 添加架构?
当我在 VS-2010 中打开我的 xslt 2.0 xsl 文件时,它引发了以下 5 个错误.它们是...
When i opening my xslt 2.0 xsl file in VS-2010 then it raised following 5 Errors.They are...
- xpath-default-namespace 尚未实现
- xsl:功能尚未实现
- xsl:param/@as 尚未实现
- xsl:for-each-group 尚未实现
- xsl:sequence 尚未实现
感谢您的合作...我找到了来自 codeproject.在 .net 框架中使用 xslt2.0.现在我正在为我的开发寻找一个好的 xslt IDE.再次感谢大家...
Thanks for your cooperation... I found a link from codeproject. for use xslt2.0 in .net framework.Now i am looking for a good xslt IDE for my development. Once again thanks to all...
推荐答案
您可以将 XSLT 2.0 智能添加到 Visual Studio,如提供的链接中所述.
You can add XSLT 2.0 intellisence to Visual Studio, as described in the provided links.
但是,Visual Studio(从 2005 年开始)与标准的 .NET XSLT 1.0 处理器 XslCompiledTransform 紧密集成——并且 Visual Studio XSLT 调试器和执行子系统仅适用于该 XSLT 处理器.
至于 Altova 的 VS 集成包,我从未使用过它并且不会感到惊讶,过去它按描述工作,但在 VS 2010 更新/服务包之一后停止工作.我的猜测是你还没有购买/安装这个包.
As for Altova's VS Integrated Package, I have never used it and wouldn't be surprized that in the past it was working as described, but stopped working after one of the VS 2010 updates / service packs. My guess is that you haven't bought/installed this package.
我建议使用专为支持 XSLT 2.0 而设计的 XSLT IDE——其中一种工具是 oXygen 以及许多其他人一直在使用,例如 Stylus Studio.
I would recommend using an XSLT IDE that is especially designed to support XSLT 2.0 -- one such tool is oXygen and there are a number of others people have been using, such as Stylus Studio.
这篇关于如何在 Visual Studio 2010 中使用 xslt 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!