The <cms:contentloop>
tag
A xml content resource consists of several xml content items. Depending on the schema definition, each of the content items can have multiple values.
This tag loops through all element values of an xml content item.
Attributes:
Name | Description | Required |
element |
The name of the content item to loop through. |
yes |
Body:
Any HTML, JSP or JSTL code of your template, this code will be looped.
Example usage:
A xml content resource contains multiple values in its "Teaser" item:
<cms:contentloop element="Teaser">
...
</cms:contentloop>