The <xsl:sort> element is used to sort the output. ... select XPath-expression Optional. Specifies which node/node-set to sort on ... lang language-code Optional. Specifies which language is to be used by the sort...
www.w3schools.com/xsl/el_sort.asp www.w3schools.com/xsl/el_sort.asp
Where to put the Sort Information ... To sort the output, simply add an <xsl:sort> element inside the <xsl:for-each> element in the XSL file: ... The <xsl:sort> element is used to sort the output.
www.w3schools.com/xsl/xsl_sort.asp www.w3schools.com/xsl/xsl_sort.asp
In this month's Transforming XML column, Bob DuCharme explains the various uses of xsl:sort, including sort ordering, multiple keys, and reversing the sort. ... XSLT's xsl:sort instruction lets you sort a group of similar elements. Attributes for this element let you add details about how you want the sort done --
www.xml.com/pub/a/2002/07/03/transform.html
XSLT's xsl:sort instruction lets you sort a group of similar elements. Attributes for this element let you add details about how you want the sort done -- for example, you can sort using alphabetic or numeric ordering, sort on multiple keys, and reverse the sort order.
www.xml.com/lpt/a/991
This sort key determines the order in which selected nodes are processed by the xsl:for-each or xsl:apply-templates elements. A sort can be based upon more than one xsl:sort element. Each sort is applied in the order in which it occurs.
www.devguru.com/Technologies/xslt/quickref/xslt_element... www.devguru.com/Technologies/xslt/quickref/xslt_element_sort.html
XSLT: XSL Transformations--a language for describing how to transform one XML document (represented as a tree) into another ... XSL: Extensible Stylesheet Language--XSLT plus a description of a set of Formatting Objects and Formatting Propertie...
nwalsh.com/docs/tutorials/xsl/xsl/slides.html nwalsh.com/docs/tutorials/xsl/xsl/slides.html
You can use multiple <xsl:sort> elements to specify multiple sort keys. That is, if there are two <xsl:sort> elements, the first one specifies the primary key, and the second one the secondary sort key (to be used in comparing items that have the same value for the primary key).
infohost.nmt.edu/tcc/help/pubs/xslt/xsl-sort.html infohost.nmt.edu/tcc/help/pubs/xslt/xsl-sort.html
xsl:variable ... The xsl:sort instruction defines a sort criteria for a given expression; ... The default sort key is text...
www.topxml.com/xsl/tutorials/intro/xsl10.asp www.topxml.com/xsl/tutorials/intro/xsl10.asp
Xsl:sort Does Not Sort the Data Correctly When You Cross-Reference Two Documents in the Sort ... Fix: Xsl:sort Does Not Sort the Data Correctly When You Cross-Reference Two Documents in the SortIn MSXML 4.0 RTM and SP1, xsl:sort does not sort the data correctly when you cross-reference between two documents in the sort.
support.microsoft.com/?id=818083
The <xsl:sort> element is used to define a sort key which specifies the order in which nodes selected by either <xsl:apply-templates> or <xsl:for-each> are processed. The nodes can be sorted either in numerical or alphabetic order, and the alphabetic order may vary depeinding on the language in use.
xml.apache.org/xalan-j/xsltc/xsl_sort_design.html xml.apache.org/xalan-j/xsltc/xsl_sort_design.html
Related Topics
Definitions