Quite often you will want to apply content formatting to multiple pieces of
data, mot likely stored in an associative array. For these cases the
<jinn:foreach/> tag comes in handy. This tag is most
often used in combination with the {jinn:getValue} embed and <jinn:echo/> tag.
Set this attribute to the name of the foreach block. This makes it simple to nest foreach blocks.
Set this attribute to an array value over which to iterate a foreach block.
This attribute is expected to be used most often in conjunction with the
{jinn:getValue} embed.
The following example outlines the syntax used for the foreach tag:
<jinn:foreach name="globals" value="{jinn:getValue name=GLOBALS}">
<table><tr><td>
<jinn:echo value="{jinn:getValue type=foreach, name=globals}"/>
</td></tr></table>
{html:</jinn:foreach>