isnext Element

Jump forward within a loop to the next list element of an iterator.

Syntax 

1<isnext/>

Purpose 

This tag affects only the iterator of the inner loop. If an iterator has already reached its last element, or an iterator is empty when an <isnext> is processed, the loop is terminated instantly.

<isnext> can be used only within an <isloop>... </isloop> loop structure.

Example 

The following example shows how to output the names of two products one after another:

1<isloop iterator="${pdict.Products}" var="product">
2  <isprint value="${product.name}">
3  <isnext/>
4  <isprint value="${product.name}"> <BR>
5</isloop>