Re: [xsl] sorting like in order by clause

Subject: Re: [xsl] sorting like in order by clause
From: Gannon Dick <gannon_dick@xxxxxxxxx>
Date: Tue, 6 Mar 2007 14:37:39 -0800 (PST)
(HINT) ... Or 5 consecutive sort statements if you need to prove to the
pointy hairs that SQL and XSLT are not just older, primitive EXCEL!

Getting them to listen, well that's another thing.

Sign me,
Bitter in Texas
(just kidding, but it's true and an easy to grasp example) :-)
========================================================
You need to use two consecutive sort statements:

<xsl:sort select="deptno" order="ascending"/>
<xsl:sort select="job" order="ascending"/>

The default ordering is ascending. So you can just write:

<xsl:sort select="deptno" />
<xsl:sort select="job" />

-- 
Regards,
Mukul Gandhi




 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

Current Thread