tags:

views:

23

answers:

1

I have a for loop like the following:

<property name="audi" value="germany" />
<property name="toyota" value="japan" />

<for list="audi,toyota" param="car">
    <sequential>
       <echo>@{@{car}}</echo>
    </sequential>
</for>

As you can see, I'm trying to echo the value "germany" then "japan", but it doesn't - it displays @{@{car}}

Any suggestions on how to do it?

+1  A: 

Found it...

@{@{car}}

needs to be:

${@{car}}
Steve Griff
You should mark this as the answer.
JasonMArcher