Skip to content

Extension org.gramar.base Tag iterate

chrisgerken edited this page Sep 14, 2015 · 2 revisions

iterate Tag

The iterate tag Iterates over a collection of nodes.

  • nodes select - (required) An XPath expression that resolves to the iterated collection
  • string var - (required) The name of a context variable to be associated with the current node of the iteration. The variable is scoped to the body of the tag.
  • string delimeter - (required) A string to be written after every node except the last

Usage and examples

Place a taglib element within <taglibs> element in the gramar.config file in the root of your gramar:

<taglibs>
    <taglib  prefix="c" extension="org.gramar.base" />
</taglibs>

Return to org.gramar.base

Clone this wiki locally