I did something similar, saving the element in a variable while iterating over 
all elements using the items iterator.

Reply via email to