Are .NET 3.5 XPath classes and methods XSLT 2.0 compatible?

后端 未结 6 1844
萌比男神i
萌比男神i 2021-01-06 15:06

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.

6条回答
  •  温柔的废话
    2021-01-06 15:58

    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.

提交回复
热议问题