xsl-list
[Top] [All Lists]

Re: [xsl] sorting like in order by clause

2007-03-06 16:02:58
(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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>