Get Intellisense when editing XSL/XSLT in Visual Studio .NET
2003
Background
It has always frustrated me that there is no intellisense
when
working with XSL/XSLT documents in Visual Studio
.NET 2003. I read an interesting
weblog article that
talks about creating schemas for custom file types. From
this I
realised I could make a schema definition for XSL/XSLT that
would enable
intellisense in Visual Studio .NET.
Download
For those who don't want to write the schema themselves, the
schema for XSL/XSLT is
provided as a download. If you have find any corrections or
updates, let me
know via email (ross @ radsoftware.com.au).
XslSchema.zip
(~10 KB)
How to install
-
Download the XslSchema.zip
file from the link above
-
For Visual Studio .NET 2002 unzip the
contents of the zip file
into
C:\Program Files\Microsoft Visual Studio .NET\Common7\Packages\schemas\xml
or the appropriate location if you have an non-default
installation
-
For Visual Studio .NET 2003 unzip the
contents of the zip file
into
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml
or the appropriate location if you have an non-default
installation
-
Create a new XSL/XSLT document in Visual Studio .NET
What does it look like?

Screenshot 1

Screenshot 2
More Information
This topic is covered in more depth in the MSDN article
"Visual
Studio .NET Schema Annotations" (search for
'requireattributequotes' in MSDN)