Visual-studio – XSLT Intellisense in Visual Studio 2008

intellisensevisual-studio-2008xslt

I have an XML file which in addition to it's standard XML schema allows the use of XSLT.

I am including the correct namespace for XSLT (xmlns:xsl="http://www.w3.org/1999/XSL/Transform") however I am not receiving Intellisense for XSLT when I start typing xsl: tags.

Is it possible to turn this on? When I edit XSLT files it works absolutely fine.

Best Answer

The Xml editor does support the standard xsl intellisense but it will strictly apply the schema. Hence you first need to enter a <xsl:stylesheet> and start adding children to it before you will see any xsl options. This is because all other other xsl elements need be children of either the xsl:stylesheet element or some other xsl element.

Related Topic