如何使用XSLT 2.0在Visual Studio 2010 [英] how to use xslt 2.0 in visual studio 2010

查看:187
本文介绍了如何使用XSLT 2.0在Visual Studio 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用XSLT 2.0转换一种XML格式到另一种XML format.But Visual Studio 2010中仅支持xslt1.0。

所以,我提到了计算器的链接,随后他们说。但它并没有为我工作...程序

<一个href="http://zeetalks.word$p$pss.com/2011/07/26/vs2010-adding-xslt-to-visual-studio-2010/">http://zeetalks.word$p$pss.com/2011/07/26/vs2010-adding-xslt-to-visual-studio-2010/

<一个href="http://stackoverflow.com/questions/4116854/xslt-2-0-intellisense-in-visual-studio-2010-adding-a-schema">XSLT 2.0智能感知在Visual Studio 2010 - 添加模式

当我打开我的XSLT 2.0 XSL文件中的VS-2010,然后它提出了以下5 Errors.They是...

  1. XPath的默认命名空间还没有实现
  2. 的xsl:功能尚未实现
  3. 的xsl:参数/ @因为还没有实现
  4. 的xsl:for-每个组尚未实现
  5. 的xsl:序列尚未implemetented

谢谢您的合作...我发现从<一个链接href="http://www.$c$cproject.com/Articles/24766/Using-Saxon-XSL-2-0-and-XQuery-1-0-in-NET#_rating">$c$cproject.使用xslt2.0在.NET framework.Now我期待有一个良好的XSLT IDE为我的发展。再次感谢所有...

解决方案

您的可以的补充XSLT 2.0 intellisence到Visual Studio,在所提供的链接描述。

但是,Visual Studio的(从2005年)紧密集成与标准.NET XSLT 1.0处理器XslCompiledTransform - 和Visual Studio的XSLT调试器和执行子系统只适用于该XSLT处理器 <。 / P>

至于Altova的VS集成包,我从来没有使用它,不会奇怪为什么在过去所描述的是工作,而是停在VS 2010的更新/服务包之一后,工作。我的猜测是,你还没有买/安装该软件包。

我会建议使用XSLT的IDE,尤其是旨在支持XSLT 2.0 - 一个这样的工具是 ,然后还有其他一些人一直在使用,如手写笔工作室

I am using xslt 2.0 for transforming one xml format to another xml format.But Visual Studio 2010 supports only xslt1.0.

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/

XSLT 2.0 intellisense in Visual Studio 2010 - Adding a schema?

When i opening my xslt 2.0 xsl file in VS-2010 then it raised following 5 Errors.They are...

  1. xpath-default-namespace is not yet implemented
  2. xsl:function is not yet implemented
  3. xsl:param/@as is not yet implemented
  4. xsl:for-each-group is not yet implemented
  5. xsl:sequence is not yet implemetented


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...

解决方案

You can add XSLT 2.0 intellisence to Visual Studio, as described in the provided links.

However, Visual Studio (from 2005 up) is tightly integrated with the standard .NET XSLT 1.0 processor XslCompiledTransform -- and the Visual Studio XSLT Debugger and execution subsystem only works with this XSLT processor.

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.

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.

这篇关于如何使用XSLT 2.0在Visual Studio 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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