xdmp:url-decode( $encoded as xs:string ) as xs:string
Converts URL-encoded string to plaintext. This decodes the string created with xdmp:url-encode.
xdmp:url-decode("Why+not%3f") => "Why not?"