Skip to main content

Encode URL

Anatomy

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

Description: 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

Example

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

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