Documentation for UsiXML 1.8.0

Element: foreach

[Table of contents]

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>
Logical Diagram
XML Instance Representation
<ipo:foreach
condition=" xs:string [1]"/>
Diagram
Schema Component Representation
<xs:element name="foreach">
<xs:complexType>
<xs:complexContent>
<xs:extension base=" ipo:conditionType ">
<xs:attribute name="condition" type=" xs:string " use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>