Percent-encoding using XSLT 1.0
问题 I am using XSLT 1.0 and I am not supposed to use XSLT 2.0. I have the following xml in which the value of <prvNum> has some special characters. <?xml version="1.0" encoding="UTF-8"?> <root> <prvNum>SPECIAL#1&</prvNum> </root> Now I want to perform percent-encoding for the value of <prvNum> . For example the value should be changed as below after percent encoding: SPECIAL%231%26 I am trying with the following code snippet, but the stylesheet is not compiling. <?xml version="1.0" encoding="UTF