My requirement is to set some dynamic variables in a for loop to the datapower context something like :
<dp:set-variable name="'var://context/txn-info/appErrorInd[$i+1]'"
value="'yes'" />
The variable $i will keep on changing. The above code isn't working. Can somebody give me a solution?