The <xsl:for-each>
element selects a set of nodes and processes each of them in the same way. It is often used to iterate through a set of nodes or to change the current node. If one or more <xsl:sort>
elements appear as the children of this element, sorting occurs before processing. Otherwise, nodes are processed in document order.
<xsl:for-each select=EXPRESSION> <xsl:sort> [optional] TEMPLATE </xsl:for-each>
select
None.
Instruction, appears within a template.
XSLT, section 8.
Supported.
© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XSLT/for-each