XQuery 1.0, XPath 2.0 and .NET

I was deeply disappointed to discover, that .NET framework 2.0 didn't contain XQuery implementation. Apparently, it was included in one of the earlier beta releases, but then was dropped by Microsoft in favour of the forthcoming LINQ project - some sort of blend between C# and Oracle's Pro*C (probably much prettier than the latter).

I can't say I buy their explanation on why it was done or their proposition to use XSLT as an alternative. Nonetheless, here I am, wishing to use XQuery in C# and .NET in general and without an implementation from Redmond.

An alternative is proposed by the Saxon project. While it is a Java implementation of XPath 2.0, XSLT, XQuery and some other XML goodies, it also contains now a .NET distribution of the same. I want to try it and to see whether it is useful in a real life project.

For what it's worth, Altova

For what it's worth, Altova offers a free implementation also - via com interop (yuk), but I believe it's fully schema-aware. /bump on the 'no implementation from MS'... may be time to move to Java...

It's always good to have

It's always good to have another option available, although Altova make unstable products...

If you are still looking for

If you are still looking for XQuery 1.0 / XPath 2.0 for .NET, we've now released a native .NET implementation. You have to pay for a commercial licence, but it is free to try. It's at http://www.xqsharp.com/.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
Please confirm you are a human being
Image CAPTCHA
Enter the characters shown in the image.