c.urlDecode (text : string, [encoding : string]) : string

The method urlDecode decodes the given string from a parameter value of a query string. If no encoding is specified, the system resorts to the configured encoding of the onion Renderengine.

<xsl:variable name="param" select="c.urlDecode(web:getQueryParameter('value'), 'ISO-8859-1')" />
<xsl:value-of select="$param" />
Structure of an external URL with parameter transfer

In this example it is ensured that the transferred parameter value of the variable “query” is coded in a URL-compliant manner.