| Name | foreach |
|---|---|
| Used by (from the same schema document) | Complex Type methodQueryType , Complex Type ifElseType , Element uiChange |
| Type | Locally-defined complex type |
| Nillable | no |
| Abstract | no |
| Documentation | the condition attribute must be something like var as ${an_array} and in the result children you can use ${var} as an "iterator variable" you can do something like <query value="select foo from a_table where something"> <foreach condition="var as ${foo}"> <result targetId="bar" attributeName="something" value="${var}" /> </foreach> </query> |