Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the current state of XSLT 2.0 availability within .NET

The latest I can find from the web and blogosphere indicate that Microsoft's XML team would be supporting XSLT 2.0 (now that it was a full blown W3C recommendation). I can't find anything beyond that.

What's the current status? Is it available in .NET 3.5/4.0 or are they stuck with XSLT 1.1 and pushing XQUERY and LINQ?

like image 324
Jay Stevens Avatar asked May 06 '09 19:05

Jay Stevens


2 Answers

It is not supported by Microsoft and there hasn't been any anouncement I'm aware of. Where did you hear about that?

UPDATE (after you added the link to the XML Team Blog):

It seems that Microsoft changed their strategy according to this interview with Chris Lovett, a Program Manager on the XML team at Microsoft, later the same year, so it's all about LINQ:

As for XSLT 2.0 - we’ve heard from customers and understand the improvements in XSLT 2.0 over XSLT 1.0, but right now we’re in the middle of a big strategic investment in LINQ and EDM for the future of the data programming platform which we think will create major improvements in programming against all types of data. But we are always re-evaluating our technology investments so if your readers want to ramp up their volume on XSLT 2.0 please ask them to drop us a line with their comments.

If you want to use XSLT/XPath 2.0 with .NET you could use Saxon.NET. However, this is just the Java version of Saxon running inside IKVM. It has a significant size in the range of 30 MB and when I tried it the performance did not seem overwhelming (This was a very basic test though so the result might be different with a typical stylesheet).

like image 153
Dirk Vollmar Avatar answered Oct 19 '22 06:10

Dirk Vollmar


XQSharp now includes a full XSLT 2.0 implementation for .NET. It doesn't yet compile to MSIL, but that is in the pipeline.

like image 25
Tim Mills Avatar answered Oct 19 '22 08:10

Tim Mills