开发者

xsl: case insensitive replace substring

开发者 https://www.devze.com 2023-03-22 23:10 出处:网络
I need to replace a word (part of a word) in an unknown text. \"replace\" works fine, but it is case sensitive. How do I replace in a case insensitive way?

I need to replace a word (part of a word) in an unknown text. "replace" works fine, but it is case sensitive. How do I replace in a case insensitive way?

Thanks alot开发者_如何学编程!


You can set flag i - ignore case option. Reference: http://www.w3.org/TR/xpath-functions/#flags

0

精彩评论

暂无评论...
验证码 换一张
取 消