Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XPath and XSLT 2.0 for .NET? [closed]

Tags:

.net

xslt

xpath

.NET 3.5 doesn't completely support XPATH 2.0 or XSLT 2.0, which is just too bad. Does anyone know if these two will be included and fully supported in any future .NET versions?

like image 677
Wim ten Brink Avatar asked Oct 06 '09 12:10

Wim ten Brink


People also ask

Does Microsoft support XSLT 2. 0?

Will MSXML support XSLT 2.0? No. MSXML versions 6.0 fully implement and support XSL Transformations (XSLT) Version 1.0 (W3C Recommendation 16 November 1999).

Is XSLT still a thing?

XSLT is very widely used. As far as we can judge from metrics like the number of StackOverflow questions, it is in the top 30 programming languages, which probably makes it the top data-model-specific programming language after SQL. But XSLT isn't widely used client-side, that is, in the browser.

Is XSLT open source?

Xalan is an open source XSLT 1.0 processor from the Apache Software Foundation available for Java and C++. A variant of the Xalan processor is included as the default XSLT processor in the standard Java distribution from Oracle.

What Xslt 3?

This specification defines the syntax and semantics of XSLT 3.0, a language designed primarily for transforming XML documents into other XML documents. XSLT 3.0 is a revised version of the XSLT 2.0 Recommendation [XSLT 2.0] published on 23 January 2007.


1 Answers

I don't think they'll add support for XPath 2.0 or XSLT 2.0 any time soon.

However, you shouldn't feel bad if these are not part of the BCL, as long as you have 3rd party implementations available:

  • Saxon: XPath 3.1, XQuery 3.1, XSLT 3.0
  • XmlPrime: XPath 3.1, XQuery 3.1, XSLT 2.0
  • QueryMachine: XPath 2.0, XQuery 1.0
  • Lightweight XPath2 for .NET: XPath 2.0
  • Exselt: XSLT 3.0

Microsoft is customer oriented. If customers don't want it, they won't make it.


2009-11-18: I contacted the XML team here and got this response:

While XML continues to be a key part of our platform going forward, we have decided not to pursue an XSLT 2.0 implementation at this time. If there is a specific XSLT task you’re trying to accomplish and are having difficulty with XSLT 1.0, please let us know and we’ll do our best to help.


This list is now maintained at github.com/maxtoroq/dotnet-xml

like image 155
Max Toro Avatar answered Oct 22 '22 04:10

Max Toro