Xml – Are .NET 3.5 XPath classes and methods XSLT 2.0 compatible

.net-3.5xmlxpathxslt

I'd like to use regular expressions in selecting elements using the match function. I'd prefer not to use an external library (such as saxon) to do this.

Best Solution

I believe the answer in this discussion is misleading. I think .NET 3.5 doesn't support most XSL/T 2.0 functions (if any at all).

An example:

A call to a 2.0 function gives the following error message under .NET 3.5:

'current-dateTime()' is an unknown XSLT function.

Related Question