[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 3/5/07, Markus Gamperl <markus.gamperl@xxxxxx> wrote:
You need to use two consecutive sort statements:
The default ordering is ascending. So you can just write:
Re: [xsl] sorting like in order by clause
Subject: Re: [xsl] sorting like in order by clause From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx> Date: Mon, 5 Mar 2007 21:18:24 +0530 |
On 3/5/07, Markus Gamperl <markus.gamperl@xxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] sorting like in order by clau, Markus Gamperl | Thread | Re: [xsl] sorting like in order by , Markus Gamperl |
[xsl] sorting like in order by clau, Markus Gamperl | Date | [xsl] Re: xsl-list Digest 28 Feb 20, Andy Carr1 |
Month |