| Syntax Color Legend |
|---|
| Command |
| Mandatory parameter |
| Optional parameter |
| Mandatory keyword |
| Optional keyword |
LOOP FOR EACH <XmlNode> IN <XmlNodes>
<Code lines>
ENDLOOP
Loops through all the occurrences in the list of <XmlNodes>. The current node will be available in the variable <XmlNode>.
None
| Parameter | Description |
|---|---|
| <XmlNode> | A variable of type XMLNODE to hold the current node in the list of XmlNodes |
| <XmlNodes> | The list of XmlNodes to cycle through |
| <Code lines> | Code that is performed each time the loop is executed. The loop will be terminated in one of the
following cases:
|
i := 1
loop for each currnode in nodeslist
currnode.value := 'Node ' + format (i, onezero)
i += 1
endloop