2 URLEncodeTask

The URLEncode task will encode a given property for use within a a URL string. This value which is actually set will be encoded via the urlencode() function. Typically, you must do this for all parameter values within a URL.

Table C.112: Attributes

NameTypeDescriptionDefaultRequired
propertyStringThe name of the property to set.n/aYes
overrideBooleanIf the property is already set, should we change it's value. Can be true or falsefalseNo
valueStringThe value of the property.n/aNo, if refid is specified
refidStringThe id of a saved reference whose value will be the value of the property.n/aNo, if value is specified

2.1 Example

<urlencode name="file.location" value="C:\\wwwhome\\my reports\\report.xml" />