RE: sort order="descending" question
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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format