Returns a string formed by replacing individual characters that appear in the second argument with the characters that appear at the corresponding position in the third argument.
translate($arg as xs:string?, $mapString as xs:string, $transString as xs:string) ➔ xs:string
The string to be translated
Characters to be replaced if they appear in the input string
Characters to be used as the replacement for corresponding characters in the second argument