ZVON > References > XSLT Reference
Go to standard

Element: <for-each>

attributes: select
child elements: sort
Standard excerpt:
When the result has a known regular structure, it is useful to be able to specify directly the template for selected nodes. The xsl:for-each instruction contains a template, which is instantiated for each node selected by the expression specified by the select attribute. The select attribute is required. The expression must evaluate to a node-set. The template is instantiated with the selected node as the current node, and with a list of all of the selected nodes as the current node list. The nodes are processed in document order, unless a sorting specification is present Examples (xslt:xml): Overview
31:3 32:3

Interactive xlab: