[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] arbitrary sorting
Hello, supposing I have elements with a month attribute <report month="Jan" /> <report month="Feb" /> and so on. Of course unordered :-) Now I want them in chronological order. I.e. I have to provide an expression as select attribute of xsl:sort which is the sort key. Is that possible with standard XSLT? I know how to translate Jan->1, Feb->2 etc via a named template resp. xsl:choose, but that doesn't help much in this case. Thanks for your hints, Oliver /-------------------------------------------------------------------\ | ob|do Dipl.Inf. Oliver Becker | | --+-- E-Mail: obecker@xxxxxxxxxxxxxxxxxxxxxxx | | op|qo WWW: http://www.informatik.hu-berlin.de/~obecker | \-------------------------------------------------------------------/ 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
|