Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSLT 2.0 Support In VS.Net 2005?

From: "Dimitre Novatchev" <dimitren@---.---.-->
To: NULL
Date: 8/1/2006 6:22:00 AM


"cmay" <cmay@w...> wrote in message 
news:1154359760.202604.11360@i......
>I just tried to use an XSLT 2.0 element: Character-Map, in VS.Net
> 2005's xml/xslt editor and it didn't seem to like it.
>
> The exact same line worked just fine in XMLSpy">XMLSpy.
>
> Does VS.Net 2005 (editor) not support XSLT 2.0?


Yes, it does (speaking just about the XML Editor) -- you have to drop the 
XML Schema definition file for XSLT 2.0 in the XML\Schemas folder also known 
as %VsInstallDir%/xml/schemas/ (be sure to use a different name from 
xslt.xsd not to overrride the schema for XSLT 1.0) and in the catalog.xml 
file in the same folder associate it to another extension -- I use "xsl2".

The entry for xslt2.0 in my catalog.xml file is:

 <Association extension="xsl2" 
schema="%VsInstallDir%/xml/schemas/schema-for-xslt20.xsd" />

In the w3 schema for xslt 2.0 be sure to comment out the xs:import 
statements for namespaces and for xml-schema.

Then just start using your VS2005 XML Editor with XSLT 2.0 -- you get all 
intellisense, such as element names, attribute names and attribute values 
prompting, as well as dynamic syntax error notifications.

Do enjoy!

Cheers,
Dimitre Novatchev. 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent