Visual Studio 2010 中的 XSLT 2.0 智能感知 - 添加架构? [英] XSLT 2.0 intellisense in Visual Studio 2010 - Adding a schema?
问题描述
我希望能够在 XSLT 中获得智能感知,但对于 Visual Studio 中的 2.0 版
I want to be able to get intellisense in XSLT but for version 2.0 in visual studio
我知道默认情况下不支持 XSLT 2.0 - 只有 1.0 - 但是使用 Saxon API 你可以使用 XSLT 2.0.
I know by default XSLT 2.0 isn't support - only 1.0 - but using Saxon API you can use XSLT 2.0.
我很想获得智能感知,我认为这可以通过向 Visual Studio 添加 XSLT 2.0 架构来实现,但我不是 100% 确定.
I would love to get intellisense, i think this is possible by adding a XSLT 2.0 schema to visual studio but i am not 100% sure.
我的问题实际上是我从哪里获得架构,我想我可以下载它?
My question really is where do i get the schema from , i presume i can download it ?
我在哪里安装它在visual studio中?
and where do i install it in visual studio?
推荐答案
我不确定,但我认为这是您想要从 W3 站点获得的架构:http://www.w3.org/2007/schema-for-xslt20.xsd
I'm not certain but, I think this is the schema you want from the W3 site: http://www.w3.org/2007/schema-for-xslt20.xsd
现有的 xslt.xsd 文件(在我的安装中)在这里:C:Program Files (x86)Microsoft Visual Studio 10.0XmlSchemas
The existing xslt.xsd file (on my install) is here: C:Program Files (x86)Microsoft Visual Studio 10.0XmlSchemas
请你发回你的结果 - 这看起来很有趣.
Please could you post back your results - this looks quite interesting.
这篇关于Visual Studio 2010 中的 XSLT 2.0 智能感知 - 添加架构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!