left up right
Sorting and Selection

So far we have just been subsetting and changing the style. XSLT provides functions for:

xsl:for-each selects a set of nodes that will be processed in the order they are encountered in the selection

It is possible to process them in a different order using xsl:sort to sort them