<xsl:sort/>
Provided by module: CMS: XSLTransform
When used in combination with <xsl:apply-templates> or <xsl:for-each> this element will set the sorting order.Multiple <xsl:sort> elements can be used to set the first sort key, the second sort key and so on.
The sort order for strings is system-dependent and can be changed by setting the LC_COLLATE environment variable when starting the server.
See also the XSLT specification.
Attributes
- select="string-expression"
-
For each node that gets processed this expression is evaluated and coerced into string to get the sort key. The default value is '.' which uses the string-value of the current node.
- lang="string"
-
Not implemented.
- data-type="{text, number}"
-
Specifies the data type of the key strings.
- order="{ascending, descending}"
-
Specifies the sort order. The default is ascending.
- case-order="{upper-first, lower-first}"
-
Not implemented.