<< Back - Alkacon logo

OpenCms 6.0 interactive documentation:

Documentation for the 'cms:contentloop' tag

OpenCms logo - Forward >>

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

©2003-2005 Alkacon Software (http://www.alkacon.com) - The OpenCms experts