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.0 \ Xml \ Schemas \
The existing xslt.xsd file (on my install) is here: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas\
请您发回您的结果-这看起来很有趣.
Please could you post back your results - this looks quite interesting.
这篇关于Visual Studio 2010中的XSLT 2.0智能感知-添加架构吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!