Add XSLT 2 schema to Visual Studio 2010 for intellisense

Posted by David Merrilees on Stack Overflow See other posts from Stack Overflow or by David Merrilees
Published on 2010-05-12T10:19:37Z Indexed on 2010/05/12 10:24 UTC
Read the original article Hit count: 306

I'd like to add the XSLT 2 schema to Visual Studio 2010 to provide intellisense. I've added the schema to C:\Program Files\Microsoft Visual Studio 10.0\Xml\Schemas (removing the XSLT 1 schema), but to no avail. The schema seems to have been parsed by Visual Studio, as I can hover my cursor over the namespace declaration in the stylesheet (xmlns:xsl="http://www.w3.org/1999/XSL/Transform") and see the comments from the new schema, however, intellisense still refers to the XSLT 1 implementation. For example the element has a warning that 'xsl:function is not yet available'.

Do I need to register the schema in some way? Any suggestions welcome.

© Stack Overflow or respective owner

Related posts about xsd

Related posts about visual-studio-2010