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.

XslSchema.zip (~10 KB)

How to install

  1. Download the XslSchema.zip file from the link above
  2. 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
  3. 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
  4. 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)