The gateway 9.3 supports xpath 2.0, but the gateway in old version may only support xpath 1.0.
- Function for both xpath 1.0 and xpath 2.0:
translate(string1,string2,string3) -- Converts string1 by replacing the characters in string2 with the characters in string3
xpath expression example for upper case:
translate($request.mainpart,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')
- upper-case(string) -- Converts the string argument to upper-case
- lower-case(string) -- Converts the string argument to lower-case
xpath expression example for lower case:
lower-case($orgstr)
The sample policies will be attached.