XSLT Replace function not found

后端 未结 6 2051
庸人自扰
庸人自扰 2020-11-30 06:21

I am writing an XSLT transformation in which I wish to use the Replace function to do a regex match and replace.

However, Visual Studio 2008 reports that

6条回答
  •  既然无缘
    2020-11-30 06:30

    Replace is not valid in XSLT 1.0. You have "translate()", which might work for you, but replace() is XSLT 2, and not part of the MS .NET XML codebase. You can get it with some third party XML libraries though.

提交回复
热议问题