Zum Hauptinhalt springen

Encode URL

XML
<encode:url var="var">
string
</encode:url>

<encode:url /> encodes a value according to RFC 1738 by replacing non-alphanumeric characters except '-', '_' and '.' with a percent sign ('%') followed by a 2-character hexadecimal number.

<encode:url /> is the complement of the <decode:url /> operation.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name encode:url

Results

BindingTypePredicate
varstringN/A

Examples

XML
<output>
<encode:url>My name is iXML!</encode:url>
</output>

<!-- My%20name%20is%20iXML%21 -->