Loading TOC...

xdmp:url-decode

xdmp:url-decode(
   $encoded as xs:string
) as xs:string

Summary

Converts URL-encoded string to plaintext. This decodes the string created with xdmp:url-encode.

Parameters
$encoded Encoded text to be decoded.

Example

xdmp:url-decode("Why+not%3f")
=> "Why not?"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.