xsl:for-each, but orders elements differently
Works well with flat structures
Replaces Muenchian method
<xsl:for-each-group select = expression group-by = "string expression" group-adjacent = "string expression" group-starting-with = pattern> <!-- Content: (xsl:sort*, content-constructor) --> </xsl:for-each-group>
select attribute selects the population to be grouped.
attribute calculates a string value for each node in the population.
Nodes with the same value are grouped together.
calculates a string value for each node in the population.
Every time the value changes, a new group is started.
group-starting-with starts a new group
every time its pattern is matched.
group-starting-with are mutually exclusive.