to the main page... about these slides...

Sorting

- choosing order for xsl:apply-templates and xsl:for-each (default: document order)
<xsl:sort select="expression" .../>
sequence of xsl:sort placed in xsl:apply-templates or xsl:for-each defining lexicographic order (first occuring: primary key, etc.) - expression evaluated on each node in node-set, result converted to string for comparison
Extra attributes:
order="ascending/descending"
lang="..."
data-type="text/number"
case-order="upper-first/lower-first"