[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: sorting product descriptions
Tobias Reif wrote: > > Hi Francis; > > > Tobi, you owe me a beer. > > Absolutely. XSLTUK 2002? > You're on! > > You have a solution at > > http://redrice.com/xml/sortfunction.zip > > Awesome! It works *very* well so far. > Thank you. I suspect that there's a bug in there in the case of matching keys which terminate on a string syllable, which I hope to correct this evening. I may also implement a merge sort using an evil technique which has just occurred to me. The current algorithm requires (n * n)/2 comparisons, so is no better than a bubble sort except that it's easy to implement in XSLT. Francis. 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
|