Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XSLT 2.0 Support In VS.Net 2005? >Thread Next - Re: XSLT 2.0 Support In VS.Net 2005? Re: XSLT 2.0 Support In VS.Net 2005?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. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
