I would like to be able to count how many times a ForEach have looped and brake after say the third time out of 5 possible times.
In addition I would be able to forward the current number in an variable to be used elsewhere in the script.
Example:
A section item of SID='SSSE' have 5 part of type IRSI.
Using /IRSE.Count the answer is 5.
But is it possible to count and keep track of how many parts are passed in a ForEach select="/IRSI"and maybe also store that in a variable?
Thanks
/Stefan
Edvardsson, Stefan
I would like to be able to count how many times a ForEach have looped and brake after say the third time out of 5 possible times.
In addition I would be able to forward the current number in an variable to be used elsewhere in the script.
Example:
A section item of SID='SSSE' have 5 part of type IRSI.
Using /IRSE.Count the answer is 5.
But is it possible to count and keep track of how many parts are passed in a ForEach select="/IRSI"and maybe also store that in a variable?
Thanks
/Stefan