Betreff: Re: [xsl] sorting like in order by clause
On 3/5/07, Markus Gamperl <markus(_dot_)gamperl(_at_)gmx(_dot_)at> wrote:
example select:
select ename, job, deptno, sal from emp order by deptno, job;
This doesn't work:
<xsl:sort select="deptno | job" order="ascending"/>
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
Thanks a lot - I have been thinking too complex... ;-)
Markus
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
--~------------------------------------------------------------------
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>
--~--