Visual studio 我可以在XSLT中伪造名称空间引用吗

Visual studio 我可以在XSLT中伪造名称空间引用吗,visual-studio,xslt,Visual Studio,Xslt,我从Sharepoint中复制了一个xsl,并将其引入visual studio 由于此错误,Visual studio将不会编译或应用转换 XslTransformException --------------------- Cannot find the script or external object that implements prefix 'http://schemas.microsoft.com/WebParts/v2/DataView/runtime'. 我可以告诉VS忽

我从Sharepoint中复制了一个xsl,并将其引入visual studio

由于此错误,Visual studio将不会编译或应用转换

XslTransformException
---------------------
Cannot find the script or external object that implements prefix 'http://schemas.microsoft.com/WebParts/v2/DataView/runtime'.
我可以告诉VS忽略前缀吗?或者以某种方式提供一个虚拟模式来让XSLT工作


我想删除所有的引用,编辑我的转换,然后如果需要的话可能会把它们放回去。

您的XSLT似乎引用了外部扩展。在没有看到相关XSLT的情况下,我们如何知道删除引用时会发生什么?我想我可以不使用扩展-但经过更多检查后,我意识到它们比我最初想象的更参与转换。您可以尝试在SharePoint服务器上查找扩展。它们很可能作为脚本包含在程序集(.dll)或其他XSLT文件中。