Visual Studio 2019 年的 XSLT 3.0 智能感知

XSLT 3.0 Intellisense in Visual Studio 2019

有没有办法让 Visual Studio 在此处提供基于 XSLT3 架构的 Intellisense:https://www.w3.org/TR/xslt-30/schema-for-xslt30.xsd ?

我试过下载文件并将其添加到模式列表(XML -> Schemas -> Add )并删除内置的 XSLT 版本,但它似乎没有提供任何 Intellisense。

我有另一个自定义模式,在添加到模式列表时可以完美运行,因此 VS 似乎提供了适当的 Intellisense 并使用多个模式检查代码,但它似乎讨厌来自 W3.org 的官方模式.

以前有没有人尝试过并取得一些成功?我已经进行了大量谷歌搜索和阅读与 VS2010 相关的 Whosebug 问题,但似乎找不到解决方案。

架构是 XSD 1.1 版架构,Microsoft 仅支持 XSD 1.0。因此,在您有机会将该架构与基于 Microsoft XSD 1.0 的 XML Intellisense 一起使用之前,您需要尝试删除任何 XSD 1.1 功能。

https://github.com/martin-honnen/martin-honnen.github.io/blob/master/xslt/xslt.xsd 我试图注释掉 XSD 1.1 中的功能,比如断言,如果你 select VS 2019 中的那个文件基于 XSLT 命名空间 http://www.w3.org/1999/XSL/Transform Intellisense 而不是用于 XSLT 1.0 的内置 VS,您应该获得 XSLT 3.0 intellisense;请注意,我尚未对此进行彻底测试,请在您方便时使用它,但不提供任何保证。

你看过Phil Fearon的插件了吗?

https://www.xml.com/news/2020-06-xsltxpath-for-vsc-released-vsc-marketplace/