set property
Defines a new property or sets the value of an existing property.
Arguments
- property
- The name of the property to define/set.
- value
- The value of the property. This can include replacements from the last pattern matched. For more information about expressions, see the Expressions topic.
Remarks
When executed, this action sets the property value. This property value can then be used in other replacement expressions.
Examples
Setting a property
To set the value of a property called ‘branch’ to the value matched by the 3rd capture in the last matched pattern, use:
<set property="branch" value="$3" />
Using a property
The following example demonstrates using a property in an expression:
<rewrite to="/showbranch.aspx?branch=${branch}" />


