Subject: RE: [xsl] sort order="descending" question From: "Jessica P. Hekman" <jphekman@xxxxxxxxxxxx> Date: Thu, 7 Aug 2003 17:18:53 -0400 (EDT) |
On Thu, 7 Aug 2003, Jeff Beadle wrote: > By default the xsl:sort will treat the datatype of the @select as "text" ... > you just need to define yours as "number". > > The xsl:sort/@data-type attribute has two enumerations: "text" and > "number"; > > This should do the trick: > > <xsl:sort select="position()" order="descending" data-type="number"/> That works perfectly. Thanks so much; I feel like an idiot for not figuring that out. Jessica XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] sort order="descending" q, Jeff Beadle | Thread | [xsl] Creating Multiple Variables, allan . mccluskey |
RE: [xsl] sort order="descending" q, Jeff Beadle | Date | Re: [xsl] Sorting Upper-Case first., David Carlisle |
Month |