📜  xslt 2 全部替换 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:55.953000             🧑  作者: Mango

代码示例1
using XSLT 2.0
declare the namespace at the top: 
xmlns:fn="http://www.w3.org/2005/xpath-functions" 
use the function as :
fn:replace($s1, 'My', 'best')