Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use xslt 2.0 in visual studio 2010

I am using xslt 2.0 for transforming one xml format to another xml format.But Visual Studio 2010 supports only xslt1.0.

So, I referred the stackoverflow link and followed the procedure they said.But it did not working for me...

http://zeetalks.wordpress.com/2011/07/26/vs2010-adding-xslt-to-visual-studio-2010/

XSLT 2.0 intellisense in Visual Studio 2010 - Adding a schema?

When i opening my xslt 2.0 xsl file in VS-2010 then it raised following 5 Errors.They are...

  1. xpath-default-namespace is not yet implemented
  2. xsl:function is not yet implemented
  3. xsl:param/@as is not yet implemented
  4. xsl:for-each-group is not yet implemented
  5. xsl:sequence is not yet implemetented

Thanks for your cooperation... I found a link from codeproject. for use xslt2.0 in .net framework.Now i am looking for a good xslt IDE for my development. Once again thanks to all...

like image 367
Saravanan Avatar asked Jun 26 '12 10:06

Saravanan


People also ask

Is XSLT 2.0 backward compatibility?

Backwards CompatibilityThe XSLT 2.0 engine is backwards compatible.

How do I run an XSLT file in Notepad ++?

XML Tools Plugin can also be used to perform XSLT (Extensible Stylesheet Language Transformations). 3. Open dictionary. xml in Notepad++ and click menu "Plugins" > "XML Tools" > "XSL Transformation Settings".

How do I open an XSLT file?

How to Open an XSLT File. You can open an XSLT file in any text editor since it's a text-only file. Windows Notepad is the text editor built-in to Windows and can be helpful if you need to quickly make a change, but it's probably not the best program for doing heavy editing.


1 Answers

You can add XSLT 2.0 intellisence to Visual Studio, as described in the provided links.

However, Visual Studio (from 2005 up) is tightly integrated with the standard .NET XSLT 1.0 processor XslCompiledTransform -- and the Visual Studio XSLT Debugger and execution subsystem only works with this XSLT processor.

As for Altova's VS Integrated Package, I have never used it and wouldn't be surprized that in the past it was working as described, but stopped working after one of the VS 2010 updates / service packs. My guess is that you haven't bought/installed this package.

I would recommend using an XSLT IDE that is especially designed to support XSLT 2.0 -- one such tool is oXygen and there are a number of others people have been using, such as Stylus Studio.

like image 125
Dimitre Novatchev Avatar answered Sep 30 '22 13:09

Dimitre Novatchev