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. 


Name Description Required

The name of the content item to loop through.



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">