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
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | encode:url |
Results
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
XML
<output>
<encode:url>My name is iXML!</encode:url>
</output>
<!-- My%20name%20is%20iXML%21 -->