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.
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
- Download the XslSchema.zip file from the link above
For Visual Studio .NET 2002 unzip the contents of the zip
C:\Program Files\Microsoft Visual Studio .NET\Common7\Packages\schemas\xmlor the appropriate location if you have an non-default installation
For Visual Studio .NET 2003 unzip the contents of the zip
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xmlor 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?
This topic is covered in more depth in the MSDN article "Visual Studio .NET Schema Annotations" (search for 'requireattributequotes' in MSDN)