|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] ordering resultsMartin Probst mail at martin-probst.comTue May 4 18:47:17 PDT 2010
> Another nasty hack you could apply (if your return clause returns a single > item) is: [...] While we are with nasty hacks, what about (assuming you know your input is e.g. only ASCII): for $x in ... order by if ($reverse) then translate(lower-case($x/key), 'abcdefg...xyz0123456789', 'zyx...gfedcba9876543210') else $x/key return $x Which is of course both a dirty hack and i18n averse. Martin
|
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
|






